[OpenJDK 2D-Dev] RFR(L): 8024854: Basic changes and files to build the class library on AIX
Phil Race
philip.race at oracle.com
Thu Sep 19 13:53:35 UTC 2013
Hi,
w.r.t the one issue below : is the awt load library code the only place you
need/are doing this ? If someone else (hotspot, core-libs) already
assented to this
then I guess I could too but I'd like to hear for sure that hotspot and
core-libs
teams both agree to this approach and whether there is an alternative.
-phil.
On 9/19/13 4:29 AM, Volker Simonis wrote:
> Hi Phil,
>
> thank you for looking at the changes. Please find my answers inline:
>
> /* AIX does not provide the 'dladdr' function. But fortunately, we've
> 42 * already implemented it in the HotSpot, because we need it
> there as
> 43 * well (see hotspot/src/os/aix/vm/porting_aix.{hpp,cpp}).
>
> Whilst this is in "ifdef AIX" this reliance on an exported hotspot
> function sounds hacky. What actual requirement is there that the
> AIX class libraries be so tightly-coupled with that VM?
> There is no contract there.
>
>
> You're right, there is no contract. It's just pragmatic solution and I
> think it should always work because the libjvm will always be loaded
> at the point in AWT where it is used. Another solution would be to
> re-implement the functionality in the class library and I don't like
> code duplication either.
>
> -phil.
>
>
More information about the core-libs-dev
mailing list