Login  Register

Re: Java Generics

Posted by Jeff Brandenburg on Jun 08, 2007; 2:16pm
URL: http://imagej.273.s1.nabble.com/Java-Generics-tp3699132p3699137.html

On Jun 8, 2007, at 2:38 AM, Ben Woodcroft wrote:
> Hi all,
>
> This is one for the Java coding folks. I'm just wondering what the  
> opinions
> are for implementing
> generics<http://java.sun.com/j2se/1.5.0/docs/guide/language/ 
> generics.html>in
> the ImageJ code are. Generics only work with Java
> 1.5+, but since 1.5 is already recommended that is ok?

Well, 1.5 is recommended for Windows, but that's mainly because of a  
terrible Windows-JRE 1.4.2 crashing bug, if I'm not mistaken.

Wayne and the ImageJ community have sacrificed :-) for a number of  
years to maintain JDK 1.1 (!) compatibility, partly for the sake of Mac  
OS pre-X users who are unable to upgrade to JRE 1.2.  In our lab, many  
users are still at OS X 10.3.9, which does not and will never support  
JRE 1.5.

I'm not sure about actual statistics, but there are definitely ImageJ  
users who can't upgrade to JRE 1.5 without spending significant cash  
and/or effort.

People are already writing plugins that require more recent versions of  
Java, and that's fine, but I personally hope the ImageJ core continues  
to support the widest possible user base.
--
        -jeffB (Jeff Brandenburg, Duke Center for In-Vivo Microscopy)