Opened 8 years ago
Closed 8 years ago
#11611 closed defect (fixed)
Adapt Libreoffice to JDK11
| Reported by: | Douglas R. Reno | Owned by: | Douglas R. Reno |
|---|---|---|---|
| Priority: | normal | Milestone: | 8.4 |
| Component: | BOOK | Version: | SVN |
| Severity: | medium | Keywords: | |
| Cc: |
Description
Since upgrading to JDK11, Libreoffice no longer builds:
[build CFG] driver_hsqldb
[build UPK] 17410483b5b5f267aa18b7e00b65e6e0-hsqldb_1_8_0.zip
[build PAT] hsqldb
[javac] /sources/libreoffice-6.1.4.2/libreoffice-6.1.4.2/workdir/UnpackedTarball/hsqldb/build/build.xml:143: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Note: /sources/libreoffice-6.1.4.2/libreoffice-6.1.4.2/workdir/UnpackedTarball/hsqldb/src/org/hsqldb/util/CodeSwitcher.java uses unchecked or unsafe operations.
[javac] /sources/libreoffice-6.1.4.2/libreoffice-6.1.4.2/workdir/UnpackedTarball/hsqldb/build/build.xml:342: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] Note: /sources/libreoffice-6.1.4.2/libreoffice-6.1.4.2/workdir/UnpackedTarball/hsqldb/src/org/hsqldb/store/ValuePoolHashMap.java uses or overrides a deprecated API.
[javac] /sources/libreoffice-6.1.4.2/libreoffice-6.1.4.2/workdir/UnpackedTarball/hsqldb/build/build.xml:353: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
[javac] /sources/libreoffice-6.1.4.2/libreoffice-6.1.4.2/workdir/UnpackedTarball/hsqldb/src/org/hsqldb/lib/java/JavaSystem.java:163: error: cannot find symbol
/sources/libreoffice-6.1.4.2/libreoffice-6.1.4.2/workdir/UnpackedTarball/hsqldb/build/build.xml:353: Compile failed; see the compiler error output for details.
make[1]: *** [/sources/libreoffice-6.1.4.2/libreoffice-6.1.4.2/external/hsqldb/ExternalProject_hsqldb.mk:17: /sources/libreoffice-6.1.4.2/libreoffice-6.1.4.2/workdir/ExternalProject/hsqldb/build] Error 1
In it's infinite wisdom, Libreoffice does not tell us exactly what went wrong. Upon further investigation (like 16 hours worth), it seems to be that hsql won't compile on JDK11 without a patch (adapts it to no longer use a certain method that was removed). There is also a build problem later on due to JDK's changes to Javadoc as well.
The two relevant commits upstream are:
I'll generate a patch for the book and submit it.
Change History (2)
comment:1 by , 8 years ago
| Owner: | changed from to |
|---|---|
| Status: | new → assigned |
| Type: | enhancement → defect |
comment:2 by , 8 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.

Fixed at r21078