Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | OO does not build when jdk1.4 is installed | ||||||
---|---|---|---|---|---|---|---|
Product: | App Dev | Reporter: | mediumnet <entwicklung--openoffice.org> | ||||
Component: | api | Assignee: | andreas.bille | ||||
Status: | CLOSED DUPLICATE | QA Contact: | issues@api <issues> | ||||
Severity: | Trivial | ||||||
Priority: | P3 | CC: | issues, quetschke | ||||
Version: | 3.3.0 or older (OOo) | Keywords: | oooqa | ||||
Target Milestone: | --- | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Issue Type: | DEFECT | Latest Confirmation in: | --- | ||||
Developer Difficulty: | --- | ||||||
Attachments: |
|
Description
mediumnet
2003-05-16 08:03:12 UTC
There seems to be a patch related JDK1.4 compatibility and openoffice at http://linuxfromscratch.org/~tushar/hints/files/OpenOfficeFromScratch/openoffice-1.0.1-jdk1.4-syntax.patch.bz2 , maybe only this patch needs to be applied. I think it is yours, please fix the project, API is definitely inappropriate I have only had experience getting the build with JDK 1.4.1 on Mac OS X. Maybe Kevin has some ideas about this. In any case, if the real problem is that there is a bug in the Sun JDK that you are using (and that is not surprisingly since you are using a beta version), you need to file a bug against Sun's JDK at http://java.sun.com as OpenOffice.org developers can't fix a broken JDK. Even when the javac bug is fixed, the compiler will spit out warnings about using "assert" not as a keyword, but as an identifier. These warnings are bugs, aren't they? It looks like I didn't look closely enough at your error messages the first time. You are correct: since "assert" is a Java 1.4 reserved work per the Java 1.4 specification, it is illegal to name a method after it. I am reopening this issue. Reassigning to author of code who originally wrote this code. Created attachment 6236 [details]
Proposed fix.
Because the above patch was generated using "cvs diff", I'm not confident that it will apply cleanly. I think it is not api but Tool Component, CMIIW change OS to all as confirm in http://tools.openoffice.org/dev_docs/build_windows.html Important Note 4: JDK 1.4.1 is prooven to work, but the new JDK 1.4.2 beta will break the build. Now JDK 1.4.2 is final and available, so I hope it will be fixed. > Now JDK 1.4.2 is final and available, so I hope it will be fixed. It's fixed, for OOo 2.0 codeline. See issue 16626 Closing as duplicate. *** This issue has been marked as a duplicate of 16626 *** for 2.0 maybe we better using JDK 2,x which will be available in next year. Now JDK 1.4.2 have some bug fixes in 1.4.2_02. if there is bugs which blocking us using it for OOo, I hope somebody can report the problem there. Thanks Closed. |