[OpenJDK 2D-Dev] Name clash when using the system libjpeg

Phil Race philip.race at oracle.com
Wed Apr 30 18:33:18 UTC 2014

The "j2" idea presumably comes from "Java 2" which was a marketing invention
for JDK 1.2 in 1998 and has since been purged from all our docs, file 
names etc etc ..
so it would not be my choice. Consider it obsolete / deprecated ..

So  libjavajpeg.so would be better.

Presumably libjavajpeg.so would also be just the 'stub' code that via JNI
interfaces to the exported interfaces of the system libjpeg ?


On 4/30/2014 7:17 AM, Andrew Hughes wrote:
> ----- Original Message -----
>> Hi,
>> After updating OpenJDK so that system versions of the giflib, libpng and
>> lcms2 libraries can be used by OpenJDK, I am looking at addressing
>> libjpeg next.
>> The trouble here is that there is an actual name clash between (the
>> openjdk) libjpeg.so and (the system) libjpeg.so.
>> Any suggestions on what to fix? Is renaming the openjdk version to
>> libj2jpeg.so (or some other variant like libjavajpeg.so) acceptable?
> IcedTea 2.x uses libjavajpeg.so so I suggest it is kept the same.
>> Thanks,
>> Omair
>> --
>> PGP Key: 66484681 (http://pgp.mit.edu/)
>> Fingerprint = F072 555B 0A17 3957 4E95  0056 F286 F14F 6648 4681

More information about the 2d-dev mailing list