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

Improve error message on duplicate class definition #11276

Merged
merged 1 commit into from
Nov 26, 2020

Conversation

hangshao0
Copy link
Contributor

  1. Add an error message on LinkageError when a duplicate class
    definition is found.
  2. Change setCurrentExceptionNLSWithArgs() to pass in NULL rather
    than an empty string as the default message.
    j9nls_lookup_message() directly returns the default message when it
    is not NULL and the locale is English, making the message in
    setCurrentExceptionNLSWithArgs() always to be the default empty string.

Fixes #11243

Signed-off-by: Hang Shao hangshao@ca.ibm.com

1. Add an error message on LinkageError when a duplicate class 
definition is found.
2. Change setCurrentExceptionNLSWithArgs() to pass in NULL rather 
than an empty string as the default message.
j9nls_lookup_message() directly returns the default message when it 
is not NULL and the locale is English, making the message in
setCurrentExceptionNLSWithArgs() always to be the default empty string.

Fixes eclipse-openj9#11243

Signed-off-by: Hang Shao <hangshao@ca.ibm.com>
@pshipton
Copy link
Member

jenkins test sanity,extended zlinux jdk11

@pshipton
Copy link
Member

@DanHeidinga any other concerns?

@DanHeidinga
Copy link
Member

@DanHeidinga any other concerns?

nope. I'm good with this

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

Successfully merging this pull request may close these issues.

jacoco_test failing with openj9 jdk11 and 14
3 participants