-
Notifications
You must be signed in to change notification settings - Fork 759
Improve IllegalAccessError with specific exception messages #22118
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
Conversation
The improved exception message looks like: Caused by: java.lang.IllegalAccessError: class org/openj9/test/illegalAccessError/ExtendsDefaultVisibility (in unnamed module 0x0000000000000000 from loader java/net/URLClassLoader) cannot access its superclass org/openj9/test/illegalAccessError/DefaultVisibility (in unnamed module 0x0000000000000000 from loader jdk/internal/loader/ClassLoaders$AppClassLoader) Added a test. Signed-off-by: Jason Feng <fengj@ca.ibm.com>
Jenkins test sanity.functional win jdk8,jdk21 |
Infra error |
I restarted that job. |
Depending on the tools used to delete the workspace, it may never succeed: |
This seems a machine/network issue. It is not related to this PR. |
Improve
IllegalAccessError
with specific exception messagesThe improved exception message looks like:
Added a test.
Java 8 zOS personal build works.
Signed-off-by: Jason Feng fengj@ca.ibm.com