> Testing ImageJ1 with Java 9 (jre.9.0.4) for the first time, I noticed that "Compile and Run" is not working any longer.
> When applied to a plugin's .class file (which is what I usually do) there is no reaction at all first but after several seconds
> a StackOverflowError is shown. This is the same on Windows7 and MacOs.
OK, I did some more checking:
* "Compile and run" works fine as long as the plugin class is in the default package. The problem appears only when the plugin is defined inside a package (subfolder).
* In this case, ImageJ's class cloader appears to delegate class loading recursively, until the Java stack is full and the runtime crashes.
--Wilhelm
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html