summaryrefslogtreecommitdiff
path: root/rules
diff options
context:
space:
mode:
Diffstat (limited to 'rules')
l---------rules/hawtjni-bootstrap/valid-java.patch1
-rw-r--r--rules/hawtjni/valid-java.patch12
2 files changed, 13 insertions, 0 deletions
diff --git a/rules/hawtjni-bootstrap/valid-java.patch b/rules/hawtjni-bootstrap/valid-java.patch
new file mode 120000
index 0000000..f7eceb2
--- /dev/null
+++ b/rules/hawtjni-bootstrap/valid-java.patch
@@ -0,0 +1 @@
+../hawtjni/valid-java.patch \ No newline at end of file
diff --git a/rules/hawtjni/valid-java.patch b/rules/hawtjni/valid-java.patch
new file mode 100644
index 0000000..01ddc0f
--- /dev/null
+++ b/rules/hawtjni/valid-java.patch
@@ -0,0 +1,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);