aboutsummaryrefslogtreecommitdiff
path: root/test/tools/pack200/AttributeTests.java
diff options
context:
space:
mode:
authorksrini <none@none>2013-03-03 20:52:04 -0800
committerksrini <none@none>2013-03-03 20:52:04 -0800
commit93c8f88b7c3977f6dc48d08b20ee61384b02640b (patch)
treea8d99eb82c58a9c01098b6dd06fe0551d40707aa /test/tools/pack200/AttributeTests.java
parent8d005a09b03ef046419bccb2e232b7807c53db03 (diff)
downloadjdk8u_jdk-93c8f88b7c3977f6dc48d08b20ee61384b02640b.tar.gz
8007297: [pack200] allow opcodes with InterfaceMethodRefs
Reviewed-by: jrose
Diffstat (limited to 'test/tools/pack200/AttributeTests.java')
-rw-r--r--test/tools/pack200/AttributeTests.java12
1 files changed, 1 insertions, 11 deletions
diff --git a/test/tools/pack200/AttributeTests.java b/test/tools/pack200/AttributeTests.java
index 6526737b73..c12891829e 100644
--- a/test/tools/pack200/AttributeTests.java
+++ b/test/tools/pack200/AttributeTests.java
@@ -67,17 +67,7 @@ public class AttributeTests {
File testjarFile = new File(cwd, "test" + Utils.JAR_FILE_EXT);
Utils.jar("cvf", testjarFile.getName(), javaClassName);
- // pack using native --repack
- File nativejarFile = new File(cwd, "out-n" + Utils.JAR_FILE_EXT);
- Utils.repack(testjarFile, nativejarFile, false,
- "--unknown-attribute=error");
- Utils.doCompareVerify(testjarFile, nativejarFile);
-
- // pack using java --repack
- File javajarFile = new File(cwd, "out-j" + Utils.JAR_FILE_EXT);
- Utils.repack(testjarFile, javajarFile, true,
- "--unknown-attribute=error");
- Utils.doCompareBitWise(nativejarFile, javajarFile);
+ Utils.testWithRepack(testjarFile, "--unknown-attribute=error");
}
/*
* this test checks to see if we get the expected strings for output