aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/javassist/JvstTest4.java
diff options
context:
space:
mode:
authornickl- <github@jigsoft.co.za>2017-10-28 06:27:02 +0200
committernickl- <github@jigsoft.co.za>2017-10-28 08:59:37 +0200
commit0fd7647d3e91a2de9d612aa0ae391d2a9319632d (patch)
tree6c41674c5daeb2ecf3fe65fd42dbac753d9d0c01 /src/test/javassist/JvstTest4.java
parentc72a98b99f991ae95ed0258f8e61d6603f346395 (diff)
downloadjavassist-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.java2
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();