From 27de536b409aa80c8b8bb452160329be52814e0b Mon Sep 17 00:00:00 2001 From: Daohan Qu Date: Fri, 7 Jul 2023 01:43:44 +0000 Subject: [PATCH] 8311581: Remove obsolete code and comments in TestLVT.java Reviewed-by: coleenp, jwaters --- test/hotspot/jtreg/runtime/LocalVariableTable/TestLVT.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/test/hotspot/jtreg/runtime/LocalVariableTable/TestLVT.java b/test/hotspot/jtreg/runtime/LocalVariableTable/TestLVT.java index 2750038dfb5..b1ed991b931 100644 --- a/test/hotspot/jtreg/runtime/LocalVariableTable/TestLVT.java +++ b/test/hotspot/jtreg/runtime/LocalVariableTable/TestLVT.java @@ -41,21 +41,16 @@ public class TestLVT { public static void main(String[] args) throws Exception { test(); // Test good LVT in this test - String jarFile = System.getProperty("test.src") + "/testcase.jar"; - - // java -cp $testSrc/testcase.jar DuplicateLVT ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("DuplicateLVT"); new OutputAnalyzer(pb.start()) .shouldContain("Duplicated LocalVariableTable attribute entry for 'by' in class file DuplicateLVT") .shouldHaveExitValue(1); - // java -cp $testclasses/testcase.jar DuplicateLVTT pb = ProcessTools.createJavaProcessBuilder("DuplicateLVTT"); new OutputAnalyzer(pb.start()) .shouldContain("Duplicated LocalVariableTypeTable attribute entry for 'list' in class file DuplicateLVTT") .shouldHaveExitValue(1); - // java -cp $testclasses/testcase.jar NotFoundLVTT pb = ProcessTools.createJavaProcessBuilder("NotFoundLVTT"); new OutputAnalyzer(pb.start()) .shouldContain("LVTT entry for 'list' in class file NotFoundLVTT does not match any LVT entry")