diff options
author | nickl- <github@jigsoft.co.za> | 2017-10-28 06:27:02 +0200 |
---|---|---|
committer | nickl- <github@jigsoft.co.za> | 2017-10-28 08:59:37 +0200 |
commit | 0fd7647d3e91a2de9d612aa0ae391d2a9319632d (patch) | |
tree | 6c41674c5daeb2ecf3fe65fd42dbac753d9d0c01 /src/test/javassist/JvstTest4.java | |
parent | c72a98b99f991ae95ed0258f8e61d6603f346395 (diff) | |
download | javassist-0fd7647d3e91a2de9d612aa0ae391d2a9319632d.tar.gz javassist-0fd7647d3e91a2de9d612aa0ae391d2a9319632d.zip |
Suppress deprecation ClassPool.makePackage
Diffstat (limited to 'src/test/javassist/JvstTest4.java')
-rw-r--r-- | src/test/javassist/JvstTest4.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/javassist/JvstTest4.java b/src/test/javassist/JvstTest4.java index 6e4de447..e1ead7dd 100644 --- a/src/test/javassist/JvstTest4.java +++ b/src/test/javassist/JvstTest4.java @@ -603,6 +603,7 @@ public class JvstTest4 extends JvstTestRoot { }); } + @SuppressWarnings("deprecation") public void testMakePackage() throws Exception { if (ClassFile.MAJOR_VERSION >= ClassFile.JAVA_9) { ClassPool pool = ClassPool.getDefault(); @@ -614,6 +615,7 @@ public class JvstTest4 extends JvstTestRoot { } } + @SuppressWarnings("deprecation") public void testPackage() throws Throwable { // JASSIST-147 String packageName = "test4.pack"; ClassPool pool = ClassPool.getDefault(); |