summaryrefslogtreecommitdiff
path: root/rules/hawtjni/valid-java.patch
blob: 01ddc0f44fc5e0daaa86ebc24bc856f62cfe696c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ru hawtjni-bootstrap.orig/hawtjni-generator/src/main/java/org/fusesource/hawtjni/generator/HawtJNI.java hawtjni-bootstrap/hawtjni-generator/src/main/java/org/fusesource/hawtjni/generator/HawtJNI.java
--- hawtjni-bootstrap.orig/hawtjni-generator/src/main/java/org/fusesource/hawtjni/generator/HawtJNI.java	2014-06-15 01:34:51.092446868 -0400
+++ hawtjni-bootstrap/hawtjni-generator/src/main/java/org/fusesource/hawtjni/generator/HawtJNI.java	2014-06-15 12:09:54.442409174 -0400
@@ -402,7 +402,7 @@
     
     @SuppressWarnings("unchecked")
     private void collectMatchingClasses(ClassFinder finder, Class annotation, LinkedHashSet<Class<?>> collector) {
-        List<Class> annotated = finder.findAnnotatedClasses(annotation);
+        List<Class<?>> annotated = finder.findAnnotatedClasses(annotation);
         for (Class<?> clazz : annotated) {
             if( packages.isEmpty() ) {
                 collector.add(clazz);