import java.awt.color.ICC_ColorSpace;
import java.awt.color.ICC_Profile;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;


public class PDFBOX5563CMM
{
    public static void main(String[] args) throws IOException
    {
        System.out.println(System.getProperty("java.version"));
        InputStream is = new URL("https://issues.apache.org/jira/secure/attachment/13055078/PDFBOX-5563.icc").openStream();
        ICC_Profile profile = ICC_Profile.getInstance(is);
        ICC_ColorSpace cs = new ICC_ColorSpace(profile);
        cs.toRGB(new float[cs.getNumComponents()]);
    }
}
