Re: RFR (7152336): Enable OpenJDK builds on Windows with MinGW/MSYS

2012-06-14 Thread Volker Simonis
Hi Tim, I'm really happy to see that you are now taking care of this! The link to the referenced e-mail thread doesn't seem to work, so here's an alternative link: "RFR (M): Enable OpenJDK builds on Windows with MinGW/MSYS" http://old.nabble.com/RFR-%28M%29%3A-Enable-OpenJDK-builds-on-Windows-wi

Re: What is the xawt sizer wrapper, really?

2012-06-14 Thread David Holmes
On 14/06/2012 10:10 PM, Magnus Ihse Bursie wrote: 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 b

Re: What is the xawt sizer wrapper, really?

2012-06-14 Thread Magnus Ihse Bursie
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 poi

Re: What is the xawt sizer wrapper, really?

2012-06-14 Thread David Holmes
Hi Magnus, Yes I've also run afoul of this when cross-compiling - mostly recently when we started doing 32-bit cross-compiles (for arm) on 64-bit x86. 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 o

Re: Fwd: What is the xawt sizer wrapper, really?

2012-06-14 Thread Magnus Ihse Bursie
On 2012-06-14 12:49, Artem Ananiev wrote: Generation process include creating a new sizer.c file for each structure described in "xlibtypes", compiling it and calling the resulted binary to get offsets for all the structure fields. How is this supposed to work when cross-compiling? And wh

Re: Fwd: What is the xawt sizer wrapper, really?

2012-06-14 Thread Artem Ananiev
Hi, Magnus, (Please, keep me in CC as I'm not subscribed to this alias) in XAWT, we don't have much native code. Xlib routines are called via sun.awt.X11.XlibWrapper, and Xlib structures are accessed via Unsafe + wrapper classes. For example, there is no XWMHints.java in the workspace: it's g

What is the xawt sizer wrapper, really?

2012-06-14 Thread Magnus Ihse Bursie
We've had series of recurring issues with the xawt sizer wrapper (as defined in jdk/make/sun/xawt/Makefile) -- we've called it the X11Wrapper, I'm not sure if it has any other, more proper name. First of all, I must ask: what is the purpose of this? Does anybody here know, and can explain? T