java-11-openjdk

Edit Package java-11-openjdk
No description set
Refresh
Refresh

No build results available

Source Files
Comments 3

Adam Juraszek's avatar

Java 11 should not contain java.activation and java.annotation modules. See http://openjdk.java.net/jeps/320. These modules were added to this package by https://build.opensuse.org/request/show/634877.

My problem occurs in Intellij Idea (Java IDE) where any occurrence of @PostConstruct annotation leads to an error in the editor due to module java.annotation not being in the module graph with suggestion to "--add-modules". There are no errors when the project is compiled by gradle though. I checked that this error does not occur when I use vanilla OpenJDK Java 11 as there such modules do not exist.

Can you reevaluate why these modules were added? (Where is the best place to report a bug?)


Martin Weber's avatar

Java 11 should not contain jaxb (com.sun.xml.bind) module. It breaks any java program that runs on an OSGI runtime and conformes tho the java 11 spec (wihich means it comes with it own jaxb). See https://bugs.eclipse.org/bugs/show_bug.cgi?id=559676#c6


Michael Pujos's avatar

Due to the March 19th changes, mozilla-nss dependency should be moved from the java-11-openjdk package to the java-11-openjdk-headless package.

See bug report: https://bugzilla.opensuse.org/show_bug.cgi?id=1184606

openSUSE Build Service is sponsored by