I had the same problem. The trick is to compile your code with the
Java 5 compiler outside of ImageJ and drop the resulting .class in
ImageJ's plugins folder.
Or maybe there's a better way, but since I use Emacs for coding
anyway, I didn't feel compelled to look for it.
On 10/30/06, Burger Wilhelm <
[hidden email]> wrote:
> I have been trying to use Java's generics in ImageJ plugins, but the
> built-in compiler does not seem to support them. Is the compiler that
> comes with IJ (I downloaded the most recent version yesterday) JDK-1.5
> compliant?
>
> W. Burger
> Hagenberg
> Austria
>
--
Frederick Ross
Graduate Fellow, (|Siggia> + |McKinney>)/sqrt(2) Lab
The Rockefeller University
Je ne suis pas Fred Cross!