| Summary: | Rename readableNames.properties to avoid translation | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Ayushman Jain <amj87.iitr> | ||||||
| Component: | Core | Assignee: | Ayushman Jain <amj87.iitr> | ||||||
| Status: | VERIFIED FIXED | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | daniel_megert, kim.moir, kitlo, Olivier_Thomann, satyam.kandula, srikanth_sankaran | ||||||
| Version: | 3.7 | ||||||||
| Target Milestone: | 3.8 M6 | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | |||||||||
| Attachments: |
|
||||||||
|
Description
Ayushman Jain
Created attachment 200694 [details]
proposed fix
Changed name to readableNames.props
Released in HEAD for 3.8M1 and in R3_7_maintenance for 3.7.1 On further investigation it seems that translation of this file is necessary (looking at org.eclipse.jdt.internal.compiler.parser.Parser.readReadableNameTable(String) ) The parser also fails to initialize unless we use the *.properties extension. So, reverting for now. Will need to find another solution. (In reply to comment #3) > On further investigation it seems that translation of this file is necessary > (looking at > org.eclipse.jdt.internal.compiler.parser.Parser.readReadableNameTable(String) ) Please verify that it indeed works with a translated file, e.g. by installing the language packs for German and running with -nl de. > The parser also fails to initialize unless we use the *.properties extension. > So, reverting for now. Will need to find another solution. For now, please just fix the key by escaping it. Given you already have the manual step to add the copyright, we can live with that until a better solution is available. Created attachment 200702 [details]
proposed fix 2
Escaping the ;opt for CHKPII
(In reply to comment #4) > (In reply to comment #3) > > On further investigation it seems that translation of this file is necessary > > (looking at > > org.eclipse.jdt.internal.compiler.parser.Parser.readReadableNameTable(String) ) > > Please verify that it indeed works with a translated file, e.g. by installing > the language packs for German and running with -nl de. Tests pass with the German pack and CHKPII are also green (as confirmed by Dani). Hence releasing in HEAD for 3.8M1 and in R3_7_maintenance for 3.7.1 *** Bug 353780 has been marked as a duplicate of this bug. *** Seems to work fine. *** Bug 352026 has been marked as a duplicate of this bug. *** Verified for 3.7.1 RC2 using build M20110824-0800 Verified for 3.8M1. Per https://bugs.eclipse.org/bugs/show_bug.cgi?id=291040#c14, reopening this. Since the fix is in a generated file, we must fix the generator also. Ayush, let us try and get this in for this week's I build if possible - Thanks, Generated file fixed via http://git.eclipse.org/c/jdt/eclipse.jdt.core.git/commit/?id=7563c3c2d9b8362a37470a57285e103cb84a87bc Raised bug 372694 with 3.8 M7 as target for fixing the generating classes in the tools project. Verified for 3.8M6 using code inspection. |