From 982e2b92040e7862a569b7ae3a877c35d861255b Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sun, 15 Jun 2014 12:14:39 -0400 Subject: get hawtjni-bootstrap to build --- rules/hawtjni-bootstrap/valid-java.patch | 1 + rules/hawtjni/valid-java.patch | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 120000 rules/hawtjni-bootstrap/valid-java.patch create mode 100644 rules/hawtjni/valid-java.patch 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> collector) { +- List annotated = finder.findAnnotatedClasses(annotation); ++ List> annotated = finder.findAnnotatedClasses(annotation); + for (Class clazz : annotated) { + if( packages.isEmpty() ) { + collector.add(clazz); -- cgit v1.2.3-54-g00ecf