Skip to content

Conversation

@marcphilipp
Copy link
Member

@marcphilipp marcphilipp commented Oct 14, 2025

  • Trigger IllegalAccessError by moving tests to different package
  • Fix IllegalAccessError by inlining referenced method

Resolves #5062.


I hereby agree to the terms of the JUnit Contributor License Agreement.


Definition of Done

@marcphilipp marcphilipp marked this pull request as ready for review October 14, 2025 17:38
@marcphilipp marcphilipp merged commit 39fa25b into main Oct 21, 2025
17 checks passed
@marcphilipp marcphilipp deleted the marc/5062-fix-kotlin-assertdoesnotthrow branch October 21, 2025 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Assertions.kt assertDoesNotThrow() breaks with IllegalAccessError in JUnit 6

1 participant