aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/test3/Erasure.java
diff options
context:
space:
mode:
authorChristian Melchior <christian@ilios.dk>2017-11-12 15:37:15 +0100
committerChristian Melchior <christian@ilios.dk>2017-11-12 15:37:15 +0100
commit215a61f3a0a1d2794df51611218068ab09a90d56 (patch)
tree7309f91e448e346a26d7f339fbd84464402d9406 /src/test/test3/Erasure.java
parentf4769c7ad702fa529a790106ea5c318a7af5c7b7 (diff)
parente1f0bba5de4dc03a9debfab333683f07cfbcb594 (diff)
downloadjavassist-215a61f3a0a1d2794df51611218068ab09a90d56.tar.gz
javassist-215a61f3a0a1d2794df51611218068ab09a90d56.zip
Merge branch 'master' into cm/bug/classpath-close
# Conflicts: # pom.xml # src/main/javassist/ByteArrayClassPath.java # src/main/javassist/ClassClassPath.java # src/main/javassist/ClassPoolTail.java # src/main/javassist/LoaderClassPath.java # src/main/javassist/URLClassPath.java
Diffstat (limited to 'src/test/test3/Erasure.java')
-rw-r--r--src/test/test3/Erasure.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/test/test3/Erasure.java b/src/test/test3/Erasure.java
index 412f439a..7514981a 100644
--- a/src/test/test3/Erasure.java
+++ b/src/test/test3/Erasure.java
@@ -9,6 +9,7 @@ public class Erasure<T> {
public Erasure(T t) { value = t; }
public Erasure() { value = null; }
public int run() {
+ @SuppressWarnings("unchecked")
ErasureGet<String> obj = (ErasureGet<String>)new Erasure<String>("1234");
return obj.get().length();
}