← Back to team overview

openjdk team mailing list archive

[Bug 195458] Re: wrong hardcoded path to libjpeg.so

 

Christophe: I would indeed open a separate bug since it is a very
different problem than the one fixed here (a problem of headless vs full
JRE dependencies rather than a problem of wrong hardcoded path)

-- 
wrong hardcoded path to libjpeg.so
https://bugs.launchpad.net/bugs/195458
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in ubuntu.

Status in “icedtea-java7” source package in Ubuntu: Fix Released
Status in “openjdk-6” source package in Ubuntu: Fix Released

Bug description:
Binary package hint: icedtea-java7-jre

openjdk/jdk/src/share/native/sun/awt/image/jpeg/jpegdecoder.c

void *handle = dlopen("/usr/lib/libjpeg.so", RTLD_LAZY | RTLD_GLOBAL);
if (handle == NULL)
handle = dlopen("/usr/lib64/libjpeg.so", RTLD_LAZY | RTLD_GLOBAL);

 jpegstderror = (fn_jpegstderror)dlsym(handle, "jpeg_std_error");
 if (jpegstderror == NULL) {
 dlclose(handle);
 } 

example:
crash at open download dialog

http://josm.openstreetmap.de/download/josm-latest.jar




Follow ups