Skip to content
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

Enable Extended NPE messages for JDK 8 and 11 #9844

Open
DanHeidinga opened this issue Jun 10, 2020 · 2 comments
Open

Enable Extended NPE messages for JDK 8 and 11 #9844

DanHeidinga opened this issue Jun 10, 2020 · 2 comments

Comments

@DanHeidinga
Copy link
Member

Since we have a single code base for all versions, it makes sense to enable the extended NPE messages for all releases. It appears we'll need a class library patch to enable this in older releases but it should be straightforward with minimal conflicts.

https://github.com/ibmruntimes/openj9-openjdk-jdk14/blob/3a9789908591a6025ad3547187cdaceb53b458b8/src/java.base/share/classes/java/lang/NullPointerException.java#L89-L102

@DanHeidinga
Copy link
Member Author

fyi @JasonFengJ9 - once we have broader agreement on taking on these patches, and the messages complete for 14, we can look at this

@JasonFengJ9
Copy link
Member

@DanHeidinga agreed, this feature can be enabled for Java 8/11 with a JCL patch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants