Hi !

When I call this code from JOSM :

            String[] formats = ImageIO.getReaderFormatNames();
            for (String f:formats) {
                System.out.println(f);
            }

It outputs "tiff" (lowercase, other variants like "tif", "TIF" and "TIFF" are 
missing).

When I run the same code a simple-hello-world-like program, it doesn't.

I tried the -verbose option of the Java VM, and it gives me :
[Loaded com.sun.imageio.plugins.tiff.TIFFImageReaderSpi from 
/Library/Java/JavaVirtualMachines/1.6.0_22-b04-307.jdk/Contents/Classes/classes.jar]

The question is : what in JOSM causes the loading of this class ?

It's causing problems here, because it doesn't seem to be able to load any tiff 
file anyway.

Thanks for your help !

Best regards

Olivier


_______________________________________________
josm-dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/josm-dev

Reply via email to