8248418: jpackage fails to extract main class and version from app module linked in external runtime
Reviewed-by: herrick, almatvee
This commit is contained in:
parent
fd45694c58
commit
128c0c97a5
@ -837,8 +837,6 @@ jdk/jfr/startupargs/TestStartDuration.java 8214685 windows-
|
|||||||
|
|
||||||
# jdk_jpackage
|
# jdk_jpackage
|
||||||
|
|
||||||
tools/jpackage/share/jdk/jpackage/tests/ModulePathTest3.java#id0 8248418 generic-all
|
|
||||||
|
|
||||||
############################################################################
|
############################################################################
|
||||||
|
|
||||||
# Client manual tests
|
# Client manual tests
|
||||||
|
@ -57,18 +57,6 @@ import org.w3c.dom.Document;
|
|||||||
* --jpt-run=jdk.jpackage.tests.ModulePathTest3
|
* --jpt-run=jdk.jpackage.tests.ModulePathTest3
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/*
|
|
||||||
* @test
|
|
||||||
* @summary jpackage for app's module linked in external runtime
|
|
||||||
* @library ../../../../helpers
|
|
||||||
* @build jdk.jpackage.test.*
|
|
||||||
* @modules jdk.jpackage/jdk.jpackage.internal
|
|
||||||
* @compile ModulePathTest3.java
|
|
||||||
* @run main/othervm/timeout=360 -Xmx512m jdk.jpackage.test.Main
|
|
||||||
* --jpt-run=jdk.jpackage.tests.ModulePathTest3
|
|
||||||
* --jpt-exclude=test8248418
|
|
||||||
*/
|
|
||||||
|
|
||||||
public final class ModulePathTest3 {
|
public final class ModulePathTest3 {
|
||||||
|
|
||||||
public ModulePathTest3(String jlinkOutputSubdir, String runtimeSubdir) {
|
public ModulePathTest3(String jlinkOutputSubdir, String runtimeSubdir) {
|
||||||
@ -85,15 +73,6 @@ public final class ModulePathTest3 {
|
|||||||
testIt("me.mymodule/me.mymodule.Main");
|
testIt("me.mymodule/me.mymodule.Main");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Test case for JDK-8248418.
|
|
||||||
* App's module with version specified in runtime directory.
|
|
||||||
*/
|
|
||||||
@Test
|
|
||||||
public void test8248418() throws XPathExpressionException, IOException {
|
|
||||||
testIt("me.mymodule/me.mymodule.Main@3.7");
|
|
||||||
}
|
|
||||||
|
|
||||||
private void testIt(String mainAppDesc) throws XPathExpressionException,
|
private void testIt(String mainAppDesc) throws XPathExpressionException,
|
||||||
IOException {
|
IOException {
|
||||||
final JavaAppDesc appDesc = JavaAppDesc.parse(mainAppDesc);
|
final JavaAppDesc appDesc = JavaAppDesc.parse(mainAppDesc);
|
||||||
|
Loading…
Reference in New Issue
Block a user