Details
Description
A recent update to the JDK (at least since 1.7.0_11) has broken the build with the following error:
[javac] /home/hudson/jenkins-slave/workspace/Pivot-maintenance on Java 7/pivot_maintenance/wtk/src/org/apache/pivot/wtk/BrowserApplicationContext.java:404: error: cannot find symbol
[javac] JSObject window = JSObject.getWindow(applicationHostApplet);
[javac] ^
[javac] symbol: method getWindow(HostApplet)
[javac] location: class JSObject
From a posting here: http://stackoverflow.com/questions/13308495/why-is-getwindow-not-able-to-be-resolved
it appears that duplicate (but not the same) definitions of the JSobject class are causing problems.
We set our classpath to all the *.jar files in the jre/lib directory. So, removing the "jfxrt.jar" (which we don't need) eliminates the duplicate and we get the correct class in "plugin.jar".