← Back to team overview

openjdk team mailing list archive

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

 

Do I need to create a new bug for ?
"openjdk-6-jre-headless should depend on libjpeg62"
Or can we reopen this one ?

-- 
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