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
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
- relates to
-
JDK-8162504 TestInstanceKlassSize.java and TestInstanceKlassSizeForInterface.java fail on Mac OS
-
- Resolved
-