← Back to team overview

openjdk team mailing list archive

Bug#639883: Bug#639883: openjdk-6: Can't load standard profile: LINEAR_RGB.pf

 

On 08/31/2011 11:43 AM, Sebastian Ramacher wrote:
Package: openjdk-6-jre
Version: 6b23~pre8-2
Severity: important

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

After the recent upgrade from 6b23~pre7-1 to 6b23~pre8~2 the following simple
program fails to run:

public class Main {
   static public void main(String[] args)
   {
     java.awt.color.ColorSpace.getInstance(java.awt.color.ColorSpace.CS_LINEAR_RGB);
   }
}

It fails with:

Exception in thread "main" java.lang.IllegalArgumentException: Can't load
standard profile: LINEAR_RGB.pf
         at java.awt.color.ICC_Profile$2.run(ICC_Profile.java:912)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.awt.color.ICC_Profile.getStandardProfile(ICC_Profile.java:905)
         at java.awt.color.ICC_Profile.getInstance(ICC_Profile.java:886)
         at java.awt.color.ColorSpace.getInstance(ColorSpace.java:347)
         at Main.main(Main.java:4)

There are

openjdk-6-jre-headless:
/usr/lib/jvm/java-6-openjdk-amd64/jre/lib/cmm/LINEAR_RGB.pf
openjdk-6-jre-lib: /usr/lib/jvm/java-6-openjdk/jre/lib/cmm/LINEAR_RGB.pf

but none of them seems to be found.

It looks like the symlink cannot be handled. Apparently works when symlinking the cmm subdirectory itself.






References