8202810: Remove class-for-name test
authorredestad
Tue, 08 May 2018 23:02:13 +0200
changeset 50060 06d5b1f66553
parent 50059 10843c8ecd54
child 50061 20520a835f48
8202810: Remove class-for-name test Reviewed-by: jlaskey, mchung
test/jdk/tools/jlink/JLinkPluginsTest.java
--- a/test/jdk/tools/jlink/JLinkPluginsTest.java	Mon May 07 16:16:17 2018 +0200
+++ b/test/jdk/tools/jlink/JLinkPluginsTest.java	Tue May 08 23:02:13 2018 +0200
@@ -77,14 +77,6 @@
             helper.checkImage(imageDir, moduleName, res, null);
         }
         {
-            // Optimize Class.forName
-            String[] userOptions = {"--class-for-name"};
-            String moduleName = "classforname";
-            helper.generateDefaultJModule(moduleName, "composite2");
-            Path imageDir = helper.generateDefaultImage(userOptions, moduleName).assertSuccess();
-            helper.checkImage(imageDir, moduleName, null, null);
-        }
-        {
             // disable generate jli classes - JDK-8160063
             String[] userOptions = {"--disable-plugin", "generate-jli-classes"};
             String moduleName = "jlidisabled";