Changeset 2174


Ignore:
Timestamp:
01/29/07 14:04:55 (13 years ago)
Author:
curtis
Message:

Use com.sun.media.imageio.disableCodecLib instead of
com.sun.media.jai.disableMediaLib; remove debugging statement.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/loci/formats/in/ND2Reader.java

    r2173 r2174  
    5252 
    5353  private static ReflectedUniverse createReflectedUniverse() { 
    54     System.setProperty("com.sun.media.jai.disableMediaLib", "true"); 
     54    System.setProperty("com.sun.media.imageio.disableCodecLib", "true"); 
    5555    r = null; 
    5656    try { 
     
    213213    boolean foundReader = false; 
    214214    for (int i=0; i<fnames.length; i++) { 
    215       foundReader = fnames[i].equals("JPEG 2000"); 
    216       if (foundReader) i = fnames.length; 
    217     } 
    218     if (!foundReader) throw new FormatException(NO_JAI_MSG); 
     215      if (fnames[i].equals("JPEG 2000")) { 
     216        foundReader = true; 
     217        break; 
     218      } 
     219    } 
     220    //if (!foundReader) throw new FormatException(NO_JAI_MSG); 
    219221 
    220222    in = new RandomAccessStream(id); 
Note: See TracChangeset for help on using the changeset viewer.