Our swing interop unit tests are hanging on Mac when run on our Hudson test slaves, which run in headless mode. Any test that cannot run headless must be qualified by "FULL_TEST=true". Additionally, the AWT and Swing tests need to be qualified by AWT_TEST=true.
The failure is this:
javafx.embed.swing.SwingFXUtilsTest STANDARD_ERROR
RenderJob.run: internal exception
java.lang.ArrayIndexOutOfBoundsException: 0
at java.util.Arrays$ArrayList.get(Arrays.java:3835)
at java.util.Collections$UnmodifiableList.get(Collections.java:1369)
at com.sun.glass.ui.Screen.getMainScreen(Screen.java:61)
at com.sun.prism.sw.SWPipeline.getDefaultResourceFactory(SWPipeline.java:82)
at com.sun.prism.GraphicsPipeline.getDefaultResourceFactory(GraphicsPipeline.java:120)
at com.sun.javafx.tk.quantum.QuantumRenderer.lambda$createResourceFactory$411(QuantumRenderer.java:161)
at com.sun.javafx.tk.quantum.QuantumRenderer$$Lambda$44/1608543144.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308)
at com.sun.javafx.tk.RenderJob.run(RenderJob.java:58)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(QuantumRenderer.java:125)
at java.lang.Thread.run(Thread.java:744)