Skip to content

Open java.math in the IntelliJ JUnit templates - #95

Merged
emichael merged 1 commit into
masterfrom
jrw/intellij-add-opens-java-math
Nov 5, 2026
Merged

emichael merged 1 commit into
masterfrom
jrw/intellij-add-opens-java-math

Conversation

@wilcoxjay

Copy link
Copy Markdown
Collaborator

There are 4 places (I think!) where we must declare --add-opens:

  • build.gradle
  • handout-files/run-tests.py
  • .idea/runConfigurations/_template__of_JUnit.xml
  • handout-files/.idea/runConfigurations/_template__of_JUnit.xml

dc90c1d added java.math to the first two but not the IntelliJ templates. This
means that using IntelliJ from a fresh checkout will cause the visualizer to
throw an exception on any BigInteger field. In particular, the visualizer test
ObjectJTreeTest fails when run in a fresh IntelliJ.

@emichael

emichael commented Nov 5, 2026

Copy link
Copy Markdown
Owner

Thank you!!! Maybe one of these days we should have a single source of truth for these and a command to update the others.

@emichael
emichael merged commit b2c644e into master Nov 5, 2026
8 checks passed
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