src/share/classes/sun/awt/image/JPEGImageDecoder.java
Print this page
*** 52,62 ****
private ColorModel colormodel;
static {
java.security.AccessController.doPrivileged(
! new sun.security.action.LoadLibraryAction("jpeg"));
initIDs(InputStreamClass);
RGBcolormodel = new DirectColorModel(24, 0xff0000, 0xff00, 0xff);
ARGBcolormodel = ColorModel.getRGBdefault();
byte g[] = new byte[256];
for (int i = 0; i < 256; i++) {
--- 52,67 ----
private ColorModel colormodel;
static {
java.security.AccessController.doPrivileged(
! new java.security.PrivilegedAction<Void>() {
! public Void run() {
! System.loadLibrary("jpeg");
! return null;
! }
! });
initIDs(InputStreamClass);
RGBcolormodel = new DirectColorModel(24, 0xff0000, 0xff00, 0xff);
ARGBcolormodel = ColorModel.getRGBdefault();
byte g[] = new byte[256];
for (int i = 0; i < 256; i++) {