[OpenJDK 2D-Dev] Fwd: openjdk7 - use installed png and jpeg libraries
philip.race at oracle.com
Mon Dec 24 19:24:13 UTC 2012
Yes I know. I was the one who did that about 6 years ago now :-)
They have to be disabled since OpenJDK doesn't have the sources.
I am pointing out that anyone changing how this is built would need
to be careful not to break that.
On 12/24/2012 11:00 AM, Mikhail T. wrote:
> On 24.12.2012 13:42, Phil Race wrote:
>> But jpeg might matter.
>> Oracle JDK does not/cannot use the system libjpeg for all purposes
>> because of some necessary proprietary code in the version used by
>> So a change would have to be confined to the OpenJDK and even if done
>> solely for splashscreen in Oracle JDK would mean two libjpegs being
>> loaded ..
> The proprietary JPEG-extensions are already disabled in the Makefile,
> when building OpenJDK (as opposite to Oracle JDK). From
> # OpenJDK doesn't use the non-standard jpeg classes which we hope
> to remove.
> ifndef OPENJDK
> FILES_m = mapfile-vers-closed
> FILES_export += \
> sun/awt/image/codec/JPEGImageDecoderImpl.java \
> vpath %.c $(CLOSED_SRC)/share/native/$(PKGDIR)/image/jpeg
> OTHER_INCLUDES += -I$(CLOSED_SRC)/share/native/$(PKGDIR)/image/jpeg
> So, I don't think, this is still a concern (with OpenJDK, that is). Yours,
More information about the 2d-dev