Skip to content

Commit 5562646

Browse files
committed
Improve scijava-ops-image module-info comment
1 parent 6e74863 commit 5562646

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

scijava-ops-image/src/main/java/module-info.java

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,19 @@
2727
* #L%
2828
*/
2929

30+
// HACK: Open the scijava-ops-image module completely.
31+
//
32+
// What's supposed to be needed is:
33+
// opens org.scijava.ops.tutorial to org.scijava.ops.engine;
34+
//
35+
// Unfortunately, doing that results in the following error at test time:
36+
//
37+
// Error occurred during initialization of boot layer
38+
// java.lang.module.FindException: Error reading module:
39+
// .../scijava/scijava-ops-image/target/classes
40+
//
41+
// Whereas fully opening the module works for some reason.
3042
open module org.scijava.ops.image {
31-
// Note that opening this module is necessary to provide runtime access
32-
// from the SciJava Ops Engine module.
3343

3444
requires java.scripting;
3545
requires net.imglib2.mesh;

scijava-ops-tutorial/src/main/java/module-info.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@
2727
* #L%
2828
*/
2929

30-
module org.scijava.ops.tutorial{
31-
// -- Open plugins to scijava-ops
30+
module org.scijava.ops.tutorial {
3231
opens org.scijava.ops.tutorial to org.scijava.ops.engine;
3332

3433
requires io.scif;

0 commit comments

Comments
 (0)