[Pkg-gridengine-devel] Bug#875404: FTBFS with Java 9: sun.rmi.server
Chris West
debian at fau.xxx
Mon Sep 11 08:33:46 UTC 2017
Source: gridengine
Version: 8.1.9+dfsg
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
sun.rmi, sun.management packages seem to have gone. They're not on the
list of things moved to modules, but maybe they have been!
Note that without ant 1.9.9-5 UNRELEASED you won't see this error.
Build log:
[java] [javac] /build/gridengine-8.1.9+dfsg/source/libs/jgdi/src/com/sun/grid/jgdi/management/JGDISecurityManager.java:34: warning: [deprecation] RMISecurityManager in java.rmi has been deprecated
[java] [javac] import java.rmi.RMISecurityManager;
[java] [javac] ^
[java] [javac] /build/gridengine-8.1.9+dfsg/source/libs/jgdi/src/com/sun/grid/jgdi/management/ConnectorBootstrap.java:62: warning: UnicastServerRef is internal proprietary API and may be removed in a future release
[java] [javac] import sun.rmi.server.UnicastServerRef;
[java] [javac] ^
[java] [javac] /build/gridengine-8.1.9+dfsg/source/libs/jgdi/src/com/sun/grid/jgdi/management/ConnectorBootstrap.java:63: warning: UnicastServerRef2 is internal proprietary API and may be removed in a future release
[java] [javac] import sun.rmi.server.UnicastServerRef2;
[java] [javac] ^
[java] [javac] /build/gridengine-8.1.9+dfsg/source/libs/jgdi/src/com/sun/grid/jgdi/management/ConnectorBootstrap.java:64: error: cannot find symbol
[java] [javac] import sun.management.Agent;
[java] [javac] ^
[java] [javac] symbol: class Agent
[java] [javac] location: package sun.management
[java] [javac] /build/gridengine-8.1.9+dfsg/source/libs/jgdi/src/com/sun/grid/jgdi/management/ConnectorBootstrap.java:65: error: cannot find symbol
[java] [javac] import sun.management.AgentConfigurationError;
[java] [javac] ^
[java] [javac] symbol: class AgentConfigurationError
[java] [javac] location: package sun.management
[java] [javac] /build/gridengine-8.1.9+dfsg/source/libs/jgdi/src/com/sun/grid/jgdi/management/ConnectorBootstrap.java:66: error: cannot find symbol
[java] [javac] import static sun.management.AgentConfigurationError.*;
Cheers,
Chris.
More information about the Pkg-gridengine-devel
mailing list