Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8144001

jake/jdk/test/sun/rmi/rmic/newrmic/equivalence/run.sh compilation error

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Other
    • Icon: P4 P4
    • None
    • 9, 9-repo-jigsaw
    • core-libs

      this is an different failure from JDK-8078484, this is because of lack of modularization support in the test code.

      ----------System.err:(46/2715)----------
      /home/oracle/workspace/jdk/jigsaw/jake/jdk/test/java/rmi/testlibrary/TestLibrary.java:58: error: package sun.rmi.registry does not exist
      import sun.rmi.registry.RegistryImpl;
                             ^
      /home/oracle/workspace/jdk/jigsaw/jake/jdk/test/java/rmi/testlibrary/TestLibrary.java:59: error: UnicastServerRef is not visible because package sun.rmi.server is not visible
      import sun.rmi.server.UnicastServerRef;
                           ^
      /home/oracle/workspace/jdk/jigsaw/jake/jdk/test/java/rmi/testlibrary/TestLibrary.java:60: error: package sun.rmi.transport does not exist
      import sun.rmi.transport.Endpoint;
                              ^
      /home/oracle/workspace/jdk/jigsaw/jake/jdk/test/java/rmi/testlibrary/TestLibrary.java:61: error: LiveRef is not visible because package sun.rmi.transport is not visible
      import sun.rmi.transport.LiveRef;
                              ^
      /home/oracle/workspace/jdk/jigsaw/jake/jdk/test/java/rmi/testlibrary/TestLibrary.java:62: error: package sun.rmi.transport.tcp does not exist
      import sun.rmi.transport.tcp.TCPEndpoint;
                                  ^
      /home/oracle/workspace/jdk/jigsaw/jake/jdk/test/java/rmi/testlibrary/TestLibrary.java:436: error: cannot find symbol
                  RemoteRef remoteRef = ((RegistryImpl)registry).getRef();
                                          ^
        symbol: class RegistryImpl
        location: class TestLibrary
      /home/oracle/workspace/jdk/jigsaw/jake/jdk/test/java/rmi/testlibrary/TestLibrary.java:437: error: cannot find symbol
                  LiveRef liveRef = ((UnicastServerRef)remoteRef).getLiveRef();
                  ^
        symbol: class LiveRef
        location: class TestLibrary
      /home/oracle/workspace/jdk/jigsaw/jake/jdk/test/java/rmi/testlibrary/TestLibrary.java:437: error: cannot find symbol
                  LiveRef liveRef = ((UnicastServerRef)remoteRef).getLiveRef();
                                      ^
        symbol: class UnicastServerRef
        location: class TestLibrary
      /home/oracle/workspace/jdk/jigsaw/jake/jdk/test/java/rmi/testlibrary/TestLibrary.java:438: error: cannot find symbol
                  Endpoint endpoint = liveRef.getChannel().getEndpoint();
                  ^
        symbol: class Endpoint
        location: class TestLibrary
      /home/oracle/workspace/jdk/jigsaw/jake/jdk/test/java/rmi/testlibrary/TestLibrary.java:439: error: cannot find symbol
                  TCPEndpoint tcpEndpoint = (TCPEndpoint) endpoint;
                  ^
        symbol: class TCPEndpoint
        location: class TestLibrary
      /home/oracle/workspace/jdk/jigsaw/jake/jdk/test/java/rmi/testlibrary/TestLibrary.java:439: error: cannot find symbol
                  TCPEndpoint tcpEndpoint = (TCPEndpoint) endpoint;
                                             ^
        symbol: class TCPEndpoint
        location: class TestLibrary
      11 errors
      result: Failed. Compilation failed: Compilation failed

            mli Hamlin Li
            mli Hamlin Li
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: