-
Bug
-
Resolution: Fixed
-
P2
-
9
-
None
-
b54
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8082962 | emb-9 | Erik Joelsson | P2 | Resolved | Fixed | team |
To build SA classes, we do something like:
$(RUN.JAVAH) -classpath $(SA_CLASSDIR) -d $(GENERATED) -jni sun.jvm.hotspot.debugger.x86.X86ThreadContext
And we are trying to get the class from $(SA_CLASSDIR), not the boot jdk. However, if the boot jdk is jdk9, then we do get the class from the boot jdk, which is incorrect.
% $JDK8/bin/javah -d . -jni sun.jvm.hotspot.debugger.x86.X86ThreadContext && echo no error
Error: Could not find class file for 'sun.jvm.hotspot.debugger.x86.X86ThreadContext'.
% $JDK9/bin/javah -d . -jni sun.jvm.hotspot.debugger.x86.X86ThreadContext && echo no error
no error
$(RUN.JAVAH) -classpath $(SA_CLASSDIR) -d $(GENERATED) -jni sun.jvm.hotspot.debugger.x86.X86ThreadContext
And we are trying to get the class from $(SA_CLASSDIR), not the boot jdk. However, if the boot jdk is jdk9, then we do get the class from the boot jdk, which is incorrect.
% $JDK8/bin/javah -d . -jni sun.jvm.hotspot.debugger.x86.X86ThreadContext && echo no error
Error: Could not find class file for 'sun.jvm.hotspot.debugger.x86.X86ThreadContext'.
% $JDK9/bin/javah -d . -jni sun.jvm.hotspot.debugger.x86.X86ThreadContext && echo no error
no error
- backported by
-
JDK-8082962 building jdk9 with jdk9 boot jdk can cause failure or incorrect results
-
- Resolved
-