Changes for ImageJ Towards Modular Java Compatability
Posted by
Michael P Ellis on
Aug 30, 2020; 5:17am
URL: http://imagej.273.s1.nabble.com/Copy-To-System-and-asynchronicity-tp5023888p5023890.html
Dear Wayne,
I am currently using ImageJ as a jar library for my own project. I am currently running with Java 14 but not yet full transitioned to the Java Module System. Would it be possible to add a module-info.java file in the default package
in preparation for compatibility and support of modern java development.
I don't *think* this change would cause backward compatibility issues. But happy to stand corrected.
Other changes will be required too, including some reorganisation of files as has already seems to
be started in the ImageJA project at
https://github.com/imagej/ImageJA.gitRegards -- Michael Ellis
module ij {
requires java.desktop;
requires java.rmi;
requires java.compiler;
requires java.scripting;
exports ij;
exports ij.gui;
exports ij.io;
exports ij.macro;
exports ij.measure;
exports ij.plugin;
exports ij.plugin.filter;
exports ij.plugin.frame;
exports ij.plugin.tool;
exports ij.process;
exports ij.text;
exports ij.util;
}
--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html