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:
Alexey Semenyuk 2021-03-29 19:51:39 +00:00
parent fd45694c58
commit 128c0c97a5
2 changed files with 0 additions and 23 deletions

View File

@ -837,8 +837,6 @@ jdk/jfr/startupargs/TestStartDuration.java 8214685 windows-
# jdk_jpackage
tools/jpackage/share/jdk/jpackage/tests/ModulePathTest3.java#id0 8248418 generic-all
############################################################################
# Client manual tests

View File

@ -57,18 +57,6 @@ import org.w3c.dom.Document;
* --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 ModulePathTest3(String jlinkOutputSubdir, String runtimeSubdir) {
@ -85,15 +73,6 @@ public final class ModulePathTest3 {
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,
IOException {
final JavaAppDesc appDesc = JavaAppDesc.parse(mainAppDesc);