Bug 2051196
Summary: | openjfx8 fails to build with java-17-openjdk | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | jiri vanek <jvanek> |
Component: | openjfx8 | Assignee: | Nicolas De Amicis <deamicis> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 36 | CC: | deamicis, didiksupriadi41, java-maint-sig, jhuttana, jvanek, pmikova, sgehwolf |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-02-09 21:21:52 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 2024265 |
Description
jiri vanek
2022-02-06 15:28:27 UTC
it is weird. [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ javafx.controls --- [INFO] Toolchain in maven-compiler-plugin: JDK[/usr/lib/jvm/java-1.8.0-openjdk] [INFO] Changes detected - recompiling the module! [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent! [INFO] Compiling 277 source files to /builddir/build/BUILD/rt-8u202-b07/modules/controls/target/classes [INFO] [INFO] --- exec-maven-plugin:3.0.0:java (caspian-no-transparency) @ javafx.controls --- [WARNING] java.lang.IllegalAccessError: class com.sun.javafx.util.Logging (in unnamed module @0x7e5e1ccc) cannot access class sun.util.logging.PlatformLogger (in module java.base) because module java.base does not export sun.util.logging to unnamed module @0x7e5e1ccc at com.sun.javafx.util.Logging.getCSSLogger (Logging.java:98) this pkg should be built by jdk8, and it seems it is, but still it fallback to jdk11 encapsulation.... Maybe some consumed JAVA_HOME on the fly? This bug appears to have been reported against 'rawhide' during the Fedora 36 development cycle. Changing version to 36. the problem was the exec-maven-plugin tasks. I changed the goal from java to exec to execute in another jvm. |