Bug#875588: FTBFS with Java 9: sun.management
Chris West
debian at fau.xxx
Tue Sep 12 12:53:23 UTC 2017
Source: jruby
Version: 9.1.8.0
Severity: normal
User: debian-java at lists.debian.org
Usertags: default-java9
This package fails to build with default-jdk pointing to openjdk-9-jdk.
Please fix it, so that we can start the transition to Java 9.
The wiki has some common problems and their solutions:
https://wiki.debian.org/Java/Java9Pitfalls
These sun.* packages are generally gone.
Upstream have switched this specific one to a reflective call:
https://github.com/jruby/jruby/commit/304342c8f8071faa829679e2d62f6aa312d45185
Build log:
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /build/jruby-9.1.8.0/core/src/main/java/org/jruby/management/BeanManagerImpl.java:[87,26] error: cannot find symbol
symbol: class Agent
location: package sun.management
[INFO] 1 error
Cheers,
Chris.
More information about the pkg-java-maintainers
mailing list