Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

som-snytt
Copy link
Contributor

Craft the test to evade modern module restrictions.
It reflectively opens packages in java.base.
Note that enumerating the many opens in the test file
runs afoul of partest limit(10) on test header for options.
Avoid constructing an eager dynamic string for junit assert.
Also arbitrary objects may throw on String.valueOf such as
HashMap nodes which do not support hashCode.

Follow-up to #4170 and som-snytt@7029bb7

Craft the test to evade modern module restrictions.
It reflectively opens packages in java.base.
Note that enumerating the many opens in the test file
runs afoul of partest limit(10) on test header for options.
Avoid constructing an eager dynamic string for junit assert.
Also arbitrary objects may throw on String.valueOf such as
HashMap nodes which do not support hashCode.
@scala-jenkins scala-jenkins added this to the 2.13.17 milestone Sep 12, 2025
@som-snytt som-snytt marked this pull request as ready for review September 13, 2025 01:11
@som-snytt som-snytt requested a review from a team as a code owner September 13, 2025 01:11
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.

2 participants