question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Where's the module-info.java file?

See original GitHub issue

Add a module descriptor to the root of the JUnit Pioneer JAR file. Something like:

module org.junitpioneer {
  exports ...
  requires ...
}

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
nipafxcommented, Aug 6, 2020

Still not convinced module declarations make too much sense for test code, but since it doesn’t appear to hurt anyone (I infer from JUnit 5 having them for quite some time now), we can look into this.

Regarding the build, it appears easiest to me to make Java 11 the default/release build (with --release 8) and turn Java 8 into a “compatibility build” (like 14) where we exclude module-info.java.

2reactions
sormurascommented, Aug 6, 2020
Read more comments on GitHub >

github_iconTop Results From Across the Web

Where to place module-info.java using Java 9?
Place module declaration ( module-info.java ) into the project's source root directory (e.g. src/main/java ). It must be among the list of files ......
Read more >
The package-info.java File
The package-info.java file currently serves two purposes: A place for package-level documentation; Home for package-level annotations. Other ...
Read more >
Java 9 Modules Cheat Sheet | JRebel & XRebel by Perforce
To declare a jar file as a named Java module, one needs to provide a module-info.class file, which is, naturally, compiled from a...
Read more >
Kotlin Support for Java 9 Module System?
You'll be able to create a module in Kotlin; the module-info file will have to remain in Java (because it's ... So where...
Read more >
Understanding Java 9 Modules
In this article, I introduce the Java 9 Platform Module System (JPMS), ... version of a module declaration that's defined in a file...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found