https://github.com/sormuras/junit5-idea-272928
Repro repo for https://youtrack.jetbrains.com/issue/IDEA-272928
https://github.com/sormuras/junit5-idea-272928
Last synced: about 2 months ago
JSON representation
Repro repo for https://youtrack.jetbrains.com/issue/IDEA-272928
- Host: GitHub
- URL: https://github.com/sormuras/junit5-idea-272928
- Owner: sormuras
- License: mit
- Created: 2021-07-02T07:59:57.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2021-09-08T07:52:07.000Z (almost 5 years ago)
- Last Synced: 2025-03-01T17:48:13.149Z (over 1 year ago)
- Language: Java
- Size: 13.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# junit5-idea-272928
Repro repo for https://youtrack.jetbrains.com/issue/IDEA-272928
## Fixed

## Open
See https://youtrack.jetbrains.com/issue/IDEA-272928#focus=Comments-27-5177725.0-0 for details.

A manual work-around is to add the following command-line arguments to the VM Options of the `All in com.example.library` run configuration:
```text
--add-reads
com.example.library=java.scripting
```
But these extra directives are already declared here: [com.example.library/test/java-module/module-info.java](https://github.com/sormuras/junit5-idea-272928/blob/main/com.example.library/test/java-module/module-info.java#L4)
```java
open /*test*/ module com.example.library {
exports com.example.library;
requires java.scripting;
requires org.junit.jupiter;
}
```
It would be neat to also support this variant using Java's default "DSL" for module declarations.