-
Notifications
You must be signed in to change notification settings - Fork 733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Java 15 Use Unsafe.defineAnonyousClass() to define Hidden classes. #9485
Conversation
[ci skip] Signed-off-by: Peter Shipton <[email protected]>
Related to 8242452: During module definition, move conversion of packages from native to VM The signature of JVM_DefineModule has been modified from `..., const char* const* packages, jsize numPackages` to `..., jobjectArray packages`. Also the package parameter of following has been modified from char* to jstring. JVM_AddModuleExports JVM_AddModuleExportsToAllUnnamed JVM_AddModuleExportsToAll Fixes eclipse-openj9#9293 Signed-off-by: Peter Shipton <[email protected]>
[ci skip] Signed-off-by: Peter Shipton <[email protected]>
Reviewer: @pshipton |
More change is required to resolve #9328. The change here is to unblock building of the latest jdk15. |
jcl/src/java.base/share/classes/java/lang/invoke/MethodHandles.java
Outdated
Show resolved
Hide resolved
jcl/src/java.base/share/classes/java/lang/invoke/MethodHandles.java
Outdated
Show resolved
Hide resolved
jcl/src/java.base/share/classes/java/lang/invoke/MethodHandles.java
Outdated
Show resolved
Hide resolved
jenkins test sanity zlinux jdknext depends ibmruntimes/openj9-openjdk-jdk#openj9-staging |
Set as WIP since when this is merged, the jdk openj9-staging branch also needs to be promoted. We'll need to run a full acceptance build first. I should also mention that openj9-staging is typically updated every night, so this is a moving target. Although we can promote the SHA that was validated. |
|
The trigger is open enough that any type of text/code/quoting |
This error is unexpected:
I'll investigate. |
The build error is the following which I think we've seen before. @keithc-ca are you going to fix this one?
|
It's unclear how that could happen. The The previous problem was due to improper javac options, but that has been fixed: see ibmruntimes/openj9-openjdk-jdk#199. |
Jenkins test sanity zlinux jdknext depends ibmruntimes/openj9-openjdk-jdk#openj9-staging |
Jenkins test sanity zlinux jdknext depends keithc-ca/openj9-openjdk#makefiles |
Jenkins test sanity zlinux jdknext depends keithc-ca/openj9-openjdk-jdk#makefiles |
That incantation doesn't appear to work: I think it needs to reference a pull request (instead of a branch in some random repository). |
The one you started had the wrong repo name, openj9-openjdk instead of openj9-openjdk-jdk |
The machines are offline for a short while for sanitizing, the job is waiting on a machine. We'll see if it works in a bit. |
No, that is the name I use for that repo (I omit the |
Jenkins test sanity zlinux jdknext depends ibmruntimes/openj9-openjdk-jdk#openj9-staging |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Jenkins test sanity aix,zlinux,win jdknext depends ibmruntimes/openj9-openjdk-jdk#openj9-staging |
Running testing on a limited subset of platforms to catch any compiler errors given previous test runs were largely clean |
@DanHeidinga note that ibmruntimes/openj9-openjdk-jdk#openj9-staging is a moving target, it's typically updated every night. We should do a full run of the platforms*, and then merge this and promote openj9-staging before it gets updated in the nightly merge from OpenJDK. Otherwise, the tested openj9-staging sha can be promoted manually, which hopefully is just a push if no additional jdknext PRs get merged in the meantime.
|
The AIX failure is
|
@hangshao0 can you please stub the new method so we can re-test. |
Done. |
Jenkins test sanity aix,osx,plinux,win,xlinux,xlinuxcm,xlinuxxl,zlinux jdknext depends ibmruntimes/openj9-openjdk-jdk#openj9-staging |
Jenkins test sanity aix,zlinux,win,osx jdknext depends ibmruntimes/openj9-openjdk-jdk#openj9-staging |
sorry @keithc-ca, for some reason I didn't see your PR build before I started mine. I stopped mine, yours is still running https://ci.eclipse.org/openj9/job/PullRequest-OpenJ9/3621/ |
@hangshao0 pls fix the commit title for "Add Javadoc to ClassOption and defineHiddenClass()". This title is misleading since the commit doesn't only add javadoc changes. |
Added more info into the title. |
@hangshao0 Can you please update the commit comment again? |
1. Use copyStringToUTF8Helper() to copy and covert packageName 2. Add Javadoc to ClassOption and defineHiddenClass(). 3. Add implementation of stringConcatInitialCoder() in Access.java issue eclipse-openj9#9328 Signed-off-by: Hang Shao <[email protected]>
Done. |
Jenkins test sanity aix,osx,win,win32,zlinux jdk8 |
Jenkins test sanity aix,osx,plinux,win jdk11 |
Add implementation of new Hidden class APIs to unblock the JDK15 builds.
issue #9328
Signed-off-by: Hang Shao [email protected]