Skip to content

Conversation

@mrglavas
Copy link
Contributor

@mrglavas mrglavas commented Nov 6, 2024

Resolves #1080

Package mappings:

java.lang -> ng
java.math -> th

I explicitly chose these package names because they are suffixes of the Java built-in packages. Code which incorrectly matches qualified names using the String.endsWith() method can potentially be identified by using these imposter classes in the test application.

Copy link
Contributor

@dessina-devasia dessina-devasia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@mrglavas mrglavas merged commit 658a78a into OpenLiberty:main Nov 7, 2024
3 checks passed
@mrglavas mrglavas deleted the 1080#test-imposter-classes branch November 7, 2024 19:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Jakarta: Create java.lang and java.math imposter classes for use in testing qualified names.

3 participants