Hi,
On Wed, 14 Nov 2007, Ben Tupper wrote:
> I am getting the following warning when I use the "Compile and run..."
> command.
>
> Note: /Applications/ImageJ/plugins/ZooPhytoImage/ZPIvData.java uses unchecked
> or unsafe operations.
> Note: Recompile with -Xlint:unchecked for details.
>
> I assume that it is an unsafe type cast (I am using Vector class for
> storing info), but I would love to get the details. Is there a handy way
> to modify arguments (like -Xlint) to ImageJ's "Compile and Run..."
> command? Or do I need to compile from the command line?
At the moment, there is only a hack to generate debugging information: if
you hold down the Alt key when clicking on "Compile and Run", it pops up a
dialog asking you if you want debugging info.
I would imagine that this is the place to put in something like
-Xlint:unchecked (although you have to note that this option was not
present in older javac versions).
If you would like to test something like this, I'd be glad to send you an
ij.jar with this feature.
Ciao,
Dscho