[CLJ-1154] Compile.java closes out preventing java from reporting exceptions Created: 31/Jan/13 Updated: 12/Apr/13
|Affects Version/s:||Release 1.4|
|Fix Version/s:||Release 1.5, Release 1.6|
|Reporter:||Robert (Bobby) Evans||Assignee:||Unassigned|
I was trying to compile a project that has some native dependencies. I am using clojure-maven-plugin version 1.3.13 with Maven 2.0. I forgot to set java.library.path properly so that the native library could be found, and only got an error of
I traced this down to Compile.java, where it is flushing and closingin the finally block. The JVM uses out to write out a stack trace for any uncaught exceptions. When out is closed it is unable to write out the stack trace for the UnsatisfiedLinkError that was being thrown. This made it very difficult to debug what was happening.
|Comment by Stuart Halloway [ 01/Mar/13 10:45 AM ]|
I have encountered this problem as well. Did not verify the explanation, but sounds reasonable.