-
Notifications
You must be signed in to change notification settings - Fork 112
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
Remove Lambda expression to avoid bootstrap problem #113
Conversation
src/java.base/share/classes/jdk/internal/loader/BuiltinClassLoader.java
Outdated
Show resolved
Hide resolved
src/java.base/share/classes/jdk/internal/loader/BuiltinClassLoader.java
Outdated
Show resolved
Hide resolved
Made a comment eclipse-openj9/openj9#3399 (comment) |
When jdk.internal.lambda.dumpProxyClasses is enabled, this triggers module method calls before java.base is created, and caused null module object is returned and eventually NPE. Replaced Lambda expression with anonymous class avoid such bootstrap problem. Signed-off-by: Jason Feng <fengj@ca.ibm.com>
jenkins test sanity zlinux |
@JasonFengJ9 please look at the build failure https://ci.eclipse.org/openj9/job/PullRequest-Sanity-JDK11-linux_390-64_cmprssptrs-OpenJDK11/15/ |
The failure was due to the
However it is interesting that this PR triggered this |
I guess this PR changed bootstrap sequence a bit and the field |
Tested via eclipse-openj9/openj9#4533 |
Remove references to libffi shared libary
Remove
Lambda expression
to avoid bootstrap problemWhen
jdk.internal.lambda.dumpProxyClasses
is enabled, this triggersModule
method calls beforejava.base
is created, and causednull
module object is returned and eventuallyNPE
.Replaced
Lambda
expression withanonymous
class avoid such bootstrap problem.Related to eclipse-openj9/openj9#3399
Depends on eclipse-openj9/openj9#4533
Reviewer: @pshipton
FYI: @DanHeidinga @hangshao0
Signed-off-by: Jason Feng fengj@ca.ibm.com