[OpenJDK 2D-Dev] <AWT Dev> RFR: Allow using the system libjpeg

Anthony Petrov anthony.petrov at oracle.com
Mon May 19 18:42:38 UTC 2014


Hi Omair,

common/autoconf/libraries.m4
>  624       [use libjpeg from build system or OpenJDK source (system, bundled) @<:bundled@:>@])])

"@<:bundled@:>@" should read "@<:@bundled@:>@" - note the missing @.


make/lib/Awt2dLibraries.gmk
> 1236     LIBJPEG_CFLAGS := $(JDK_TOPDIR)/src/share/native/sun/awt/image/jpeg

Since these are compiler flags, I suppose this should read "-I<path>", 
not just "<path>".

Did you build with --with-jpeg=bundled ? Can the resulting JDK read jpeg 
files?

--
best regards,
Anthony

On 5/17/2014 4:45 AM, Omair Majid wrote:
> Hi,
>
> Webrevs are at:
> http://cr.openjdk.java.net/~omajid/webrevs/system-libjpeg/00
> http://cr.openjdk.java.net/~omajid/webrevs/system-libjpeg/00.jdk
>
> This patch modifies OpenJDK to allow building and running using the
> system copy of libjpeg. This follows my previous changes for lcms
> and a lot of the decisions made on that patch apply here.
>
> This is the last of my system-library patches :)
>
> Thanks,
> Omair
>



More information about the 2d-dev mailing list