-
Enhancement
-
Resolution: Fixed
-
P2
-
6u10
-
b09
-
generic
-
generic
-
Verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2156208 | 7 | Alexey Ushakov | P3 | Closed | Cannot Reproduce |
While researching bundle dependencies for jkernel i found out that cmm.dll may be loaded
due to access to its auxilary public static fields.
Here is related stack trace:
at sun.awt.color.CMM.<clinit>(CMM.java:109)
at java.awt.image.ColorModel.isLinearRGBspace(ColorModel.java:1685)
at java.awt.image.DirectColorModel.<init>(DirectColorModel.java:221)
at java.awt.image.BufferedImage.<init>(BufferedImage.java:328)
at sun.java2d.loops.GraphicsPrimitive.convertFrom(GraphicsPrimitive.java:537)
at sun.java2d.d3d.D3DGeneralBlit.Blit(D3DBlitLoops.java:712)
at sun.java2d.pipe.DrawImage.blitSurfaceData(DrawImage.java:927)
at sun.java2d.pipe.DrawImage.renderImageCopy(DrawImage.java:550)
at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:73)
at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:998)
at sun.java2d.pipe.ValidatePipe.copyImage(ValidatePipe.java:178)
at sun.java2d.SunGraphics2D.copyImage(SunGraphics2D.java:2918)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3056)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3010)
at javax.swing.plaf.metal.MetalBumps.paintIcon(MetalBumps.java:123)
ColorModel.isLinearRGBspace() has following code:
static boolean isLinearRGBspace(ColorSpace cs) {
// Note: CMM.LINEAR_RGBspace will be null if the linear
// RGB space has not been created yet.
return (cs == CMM.LINEAR_RGBspace);
}
If none of CMM methods are used then cmm.dll should not be loaded.
due to access to its auxilary public static fields.
Here is related stack trace:
at sun.awt.color.CMM.<clinit>(CMM.java:109)
at java.awt.image.ColorModel.isLinearRGBspace(ColorModel.java:1685)
at java.awt.image.DirectColorModel.<init>(DirectColorModel.java:221)
at java.awt.image.BufferedImage.<init>(BufferedImage.java:328)
at sun.java2d.loops.GraphicsPrimitive.convertFrom(GraphicsPrimitive.java:537)
at sun.java2d.d3d.D3DGeneralBlit.Blit(D3DBlitLoops.java:712)
at sun.java2d.pipe.DrawImage.blitSurfaceData(DrawImage.java:927)
at sun.java2d.pipe.DrawImage.renderImageCopy(DrawImage.java:550)
at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:73)
at sun.java2d.pipe.DrawImage.copyImage(DrawImage.java:998)
at sun.java2d.pipe.ValidatePipe.copyImage(ValidatePipe.java:178)
at sun.java2d.SunGraphics2D.copyImage(SunGraphics2D.java:2918)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3056)
at sun.java2d.SunGraphics2D.drawImage(SunGraphics2D.java:3010)
at javax.swing.plaf.metal.MetalBumps.paintIcon(MetalBumps.java:123)
ColorModel.isLinearRGBspace() has following code:
static boolean isLinearRGBspace(ColorSpace cs) {
// Note: CMM.LINEAR_RGBspace will be null if the linear
// RGB space has not been created yet.
return (cs == CMM.LINEAR_RGBspace);
}
If none of CMM methods are used then cmm.dll should not be loaded.
- backported by
-
JDK-2156208 Remove dependency between ColorModel/ColorSpace and cmm.dll
-
- Closed
-