What is the xawt sizer wrapper, really?

Magnus Ihse Bursie magnus.ihse.bursie at oracle.com
Thu Jun 14 12:10:21 UTC 2012


On 2012-06-14 13:52, David Holmes wrote:
> As I understand this, sizers is to X11 Java code what the 
> UnixConstants program is to the filesystem code. It has to determine 
> various sizes of native data structures used by X11 so that those 
> values can be handled correctly in the Java code (storing pointer and 
> offsets in Java code to pass ot native). Unlike the UnixConstants 
> these values only seem to differ between 32-bit and 64-bit, not across 
> different OS

To me it sounds like two checked in files, sizes-32.data and 
sizes-64.data, or whatever the names should be. And perhaps a script to 
re-generate those if the need should ever arise. But that need not be 
run as part of the build process.

Anyone against such a solution?

/Magnus



More information about the build-dev mailing list