Apache OpenOffice (AOO) Bugzilla – Issue 59368
enum is a reserved word in Java JDK 1.5 (build fails on Java 5)
Last modified: 2006-12-26 04:25:32 UTC
When compiling OOo against JDK 1.5 the compile fails with an error because enum has been made a reserved word in 1.5. All the occurances occur in the xmerge module. The attached patch simply replaces all uses on enum as a variable with enumerate, a better word could probably be chosen depending on the context but I think this is what the programmers intended.
Created attachment 32408 [details] Rename all enum variables to stop JDK 1.5 errors
TM->MH:please have a look.
TM->MIB: As ST told me, you might have a look, because MH isn´t on duty today
Svante, can you please care about this patch. Actually Lars' can remember to have resolved the same or a similar issue already, so it might be that the issue is already resolved in some other branch.
started
Renamed Java 5 key word 'enum' to 'enumeration' (according to patch) and tested by JDK 5 compilation.
*** Issue 59797 has been marked as a duplicate of this issue. ***
*** Issue 62918 has been marked as a duplicate of this issue. ***
*** Issue 63371 has been marked as a duplicate of this issue. ***
*** Issue 57544 has been marked as a duplicate of this issue. ***
Please verify fix in CWS latex re-open issue and reassign to jw@openoffice.org
reassign to jw@openoffice.org
reset resolution to FIXED
reassign to SUS please find a nother developer to verify this issue re-open issue and reassign to sus
reassign to sus
reopening. CWS latex has target 2.0.4. This issue is a build breaker. We want to have ti fixed in 2.0.3. We really do not want to answer millions of questions about compilation and mark another million of issues to eb duplicate of this one. Are you OK to create separate cws just for this fix? I'll do it...
Hi Pavel, thanks for you proposal. The CWS willl be integrated in pp3, just back from vacations. Will sort this out. Thanks, Svante SUS->SW: Stephan could you please verifiy this issue in CWS Latex for me, thanks..
resetting to fixed
ok in cws_latex => verified
/me still expects this to be integrated in 2.0.3 according to target.
reopening.
Fixed in cws java15enum.
Caolan: can you please verife/approve the cws?
yeah, fine
SRC680m170/OOC680_m2
Updated summary to allow keyword searchs. James McKenzie