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

serviceability/sa/TestInstanceKlassSize.java and serviceability/sa/TestInstanceKlassSizeForInterface.java fail compilation

    XMLWordPrintable

Details

    • b150

    Description

      Two tests fail compilation:
      serviceability/sa/TestInstanceKlassSize.java
      serviceability/sa/TestInstanceKlassSizeForInterface.java

      warning: [options] module name in --add-exports option not found: jdk.hotspot.agent
      /export/home/aurora/CommonData/j2se_jdk/hotspot/test/serviceability/sa/TestInstanceKlassSize.java:24: error: package sun.jvm.hotspot does not exist
      import sun.jvm.hotspot.HotSpotAgent;
                            ^
      /export/home/aurora/CommonData/j2se_jdk/hotspot/test/serviceability/sa/TestInstanceKlassSize.java:25: error: package sun.jvm.hotspot.utilities does not exist
      import sun.jvm.hotspot.utilities.SystemDictionaryHelper;
                                      ^
      /export/home/aurora/CommonData/j2se_jdk/hotspot/test/serviceability/sa/TestInstanceKlassSize.java:26: error: package sun.jvm.hotspot.oops does not exist
      import sun.jvm.hotspot.oops.InstanceKlass;
                                 ^
      /export/home/aurora/CommonData/j2se_jdk/hotspot/test/serviceability/sa/TestInstanceKlassSize.java:27: error: package sun.jvm.hotspot.debugger does not exist
      import sun.jvm.hotspot.debugger.*;
      ^
      /export/home/aurora/CommonData/j2se_jdk/hotspot/test/serviceability/sa/TestInstanceKlassSize.java:161: error: cannot find symbol
              HotSpotAgent agent = new HotSpotAgent();
              ^
        symbol: class HotSpotAgent
        location: class TestInstanceKlassSize
      /export/home/aurora/CommonData/j2se_jdk/hotspot/test/serviceability/sa/TestInstanceKlassSize.java:161: error: cannot find symbol
              HotSpotAgent agent = new HotSpotAgent();
                                       ^
        symbol: class HotSpotAgent
        location: class TestInstanceKlassSize
      /export/home/aurora/CommonData/j2se_jdk/hotspot/test/serviceability/sa/TestInstanceKlassSize.java:165: error: cannot find symbol
              catch (DebuggerException e) {
                     ^
        symbol: class DebuggerException
        location: class TestInstanceKlassSize
      /export/home/aurora/CommonData/j2se_jdk/hotspot/test/serviceability/sa/TestInstanceKlassSize.java:174: error: cannot find symbol
                  InstanceKlass ik = SystemDictionaryHelper.findInstanceKlass(
                  ^
        symbol: class InstanceKlass
        location: class TestInstanceKlassSize
      /export/home/aurora/CommonData/j2se_jdk/hotspot/test/serviceability/sa/TestInstanceKlassSize.java:174: error: cannot find symbol
                  InstanceKlass ik = SystemDictionaryHelper.findInstanceKlass(
                                     ^
        symbol: variable SystemDictionaryHelper
        location: class TestInstanceKlassSize
      9 errors
      1 warning
      result: Failed. Compilation failed: Compilation failed

      Attachments

        Issue Links

          Activity

            People

              jgeorge Jini George (Inactive)
              dfazunen Dmitry Fazunenko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: