Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JDK-8259395 Patching automatic module with additional packages re-creates module without "requires java.base" #2000

Closed
wants to merge 11 commits into from
Original file line number Diff line number Diff line change
@@ -75,9 +75,7 @@ public class PatchTest {
private static final String MODULE_PATH = String.join(File.pathSeparator, SOMELIB_JAR.toString(), APP_CLASSES.toString());

/**
* Test using --patch-module with main class in a new package in the patch
*
* The consists of 2 modules:
* The test consists of 2 modules:
*
* somelib - dummy automatic module.
* myapp - explicit module, uses somelib
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module myapp {
requires somelib;
}
}
Original file line number Diff line number Diff line change
@@ -29,4 +29,4 @@ public static String patchName() {
return "patch1";
}

}
}
Original file line number Diff line number Diff line change
@@ -29,4 +29,4 @@ public static String patchName() {
return "patch2";
}

}
}
Original file line number Diff line number Diff line change
@@ -29,4 +29,4 @@ public static String patchName() {
return "original";
}

}
}