twall/jna — pull request #187 by bhamail (2013-01-25 04:19:18+00:00)
Title: changes to allow StructureFieldOrderTest to run on linux. Still needs fi...

...xes to platform build.xml to allow this to run under linux AND fixes are needed for X11 Structure.getFieldOrder() methods:

````
java.lang.RuntimeException: Some Structure sub types (7) have problems with getFieldOrder():
com.sun.jna.platform.unix.X11$XGravityEvent.getFieldOrder() [[type, serial, send_event, display, window, x, y]] does not include declared field: event;
com.sun.jna.platform.unix.X11$XReparentEvent.getFieldOrder() [[type, serial, send_event, display, window, x, y, override_redirect]] does not include declared field: event;
com.sun.jna.platform.unix.X11$XConfigureEvent.getFieldOrder() [[type, serial, send_event, display, window, x, y, width, height, border_width, above, override_redirect]] does not include declared field: event;
com.sun.jna.platform.unix.X11$XMapRequestEvent.getFieldOrder() [[type, serial, send_event, display, window]] does not include declared field: parent;
com.sun.jna.platform.unix.X11$XConfigureRequestEvent.getFieldOrder() [[type, serial, send_event, display, window, x, y, width, height, above, detail, value_mask]] does not include declared field: parent;
com.sun.jna.platform.unix.X11$XMapEvent.getFieldOrder() [[type, serial, send_event, display, window, override_redirect]] does not include declared field: event;
com.sun.jna.platform.unix.X11$XUnmapEvent.getFieldOrder() [[type, serial, send_event, display, window, from_configure]] does not include declared field: event;

at com.sun.jna.StructureFieldOrderInspector.batchCheckStructureGetFieldOrder(StructureFieldOrderInspector.java:55)
at com.sun.jna.platform.StructureFieldOrderTest.testMethodGetFieldOrder(StructureFieldOrderTest.java:43)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at com.intellij.junit3.JUnit3IdeaTestRunner.doRun(JUnit3IdeaTestRunner.java:139)
at com.intellij.junit3.JUnit3IdeaTestRunner.startRunnerWithArgs(JUnit3IdeaTestRunner.java:52)
at com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:195)
at com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:63)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:120)
````