Is hawtjni-runtime really required to build jansi itself?

103 views
Skip to first unread message

James Le Cuirot

unread,
Sep 8, 2013, 4:58:52 PM9/8/13
to jans...@googlegroups.com
Hello,

I'm assisting Gentoo Linux developers in packaging jansi, jansi-native and hawtjni-runtime. I've noticed something odd. When I build with Java 6 (IcedTea/OpenJDK), I get the following error unless hawtjni-runtime is in the classpath.

[javac] An exception has occurred in the compiler (1.6.0_27). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you.
[javac] com.sun.tools.javac.code.Symbol$CompletionFailure: class file for org.fusesource.hawtjni.runtime.FieldFlag not found

However, when building with Java 7 (again IcedTea/OpenJDK), it builds fine without hawtjni-runtime being present. Further more, there is no mention of hawtjni in the jansi source at all, only in the pom.xml file. It's needed for jansi-native, of course, but we package and build that separately. Any idea what might be going on here? And no, we don't use Maven. ;)

Regards,
James
Reply all
Reply to author
Forward
0 new messages