|[cross-project-issues-dev] Errors when running 2018-12 RC2 on Java 11|
Hi all,When running the Eclipse IDE for Java Developers 2018-12 RC2  on Java 11 (tested on Windows 10 with the Oracle JDK 11.0.1  and the OpenJ9 OpenJDK 11.0.1+13 ) three "FrameworkEvent ERROR" and one "Unexpected error while loading repository template extensions" errors are logged each time the IDE is started.
This is probably caused by the Mylyn Bugzilla connector that requires the javax.xml.bind package ("Import-Package: javax.xml.bind"), which is no longer contained in Java 11.
Probably all other packages are also affected since the Bugzilla connector is used by the "Report Bug or Enhancement" feature.
Broken features:(1) "Help > Report Bug or Enhancement...", e. g. "Eclipse.org" + "Next >" + "Eclipse Platform" + "Finish" Error dialog: "Creation of a support request failed. The information for the selected product is incomplete."
=> Bug/enhancement cannot be reported. (2) Task Search ("Search > Search...", tab "Task Search")Error dialog: "None of the available online repositories support task search."
=> Almost empty search page without fields and disabled "Search" button. Solution:The bug can be fixed by downloading the following bundles from Eclipse Orbit  and placing them into the "dropins" folder (the errors will be logged one more time after the first start, but the features work without restarting):
- javax.xml.bind 2.2.0 - javax.activation 1.1.0- javax.xml 1.3.4 (only required because javax.xml.bind contains 'Import-Package: javax.xml; version="[1.3,2.0),..."' instead of 'Import-Package: javax.xml,...')
Eclipse Code Recommenders and the RSS News feature were removed in RC2  (which IMHO is a big loss) also use the javax.xml.bind package (e. g. here  without 'Import-Package: javax.xml.bind' ).
It would be great if the final release would be shipped without these issues.
Thanks, HolgerPS: I have already made a trailer (https://youtu.be/79EoseM0GUI) and video about the general and Git improvements (https://youtu.be/TM9DBinKQdI). Unfortunately, I'm blocked creating a video about Java and Gradle improvements by the mentioned issue of not knowing if it will be fixed.
PPS: There is another problem when using OpenJ9 OpenJDK 11 with "-Xshareclasses" for faster startup: after restarting Eclipse (when the cache is used) Java projects are displayed as empty. I haven't looked into it yet, but it seems to me to be more of an Eclipse OpenJ9 than an Eclipse JDT issue.
 https://hudson.eclipse.org/packaging/job/simrel.epp-tycho-build/194/artifact/org.eclipse.epp.packages/archive/  https://www.oracle.com/technetwork/java/javase/downloads/jdk11-downloads-5066655.html  https://api.adoptopenjdk.net/v2/binary/releases/openjdk11?openjdk_impl=openj9&os=windows&arch=x64&release=latest&type=jdk  https://download.eclipse.org/tools/orbit/downloads/drops/R20181128170323/ https://github.com/eclipse/recommenders/blob/master/plugins/org.eclipse.recommenders.utils/src/org/eclipse/recommenders/utils/gson/ISO8601DateParser.java#L17  https://github.com/eclipse/recommenders/blob/master/plugins/org.eclipse.recommenders.utils/META-INF/MANIFEST.MF
Back to the top