pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roger Whitcomb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PIVOT-912) Using latest 1.7 JDK to build there is an error related to JSObject.getWindow
Date Tue, 06 Aug 2013 00:01:48 GMT

    [ https://issues.apache.org/jira/browse/PIVOT-912?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13730171#comment-13730171
] 

Roger Whitcomb commented on PIVOT-912:
--------------------------------------

Fixed in "trunk":
Sending        build.xml
Transmitting file data .
Committed revision 1510821.

                
> Using latest 1.7 JDK to build there is an error related to JSObject.getWindow
> -----------------------------------------------------------------------------
>
>                 Key: PIVOT-912
>                 URL: https://issues.apache.org/jira/browse/PIVOT-912
>             Project: Pivot
>          Issue Type: Bug
>          Components: wtk
>    Affects Versions: 2.0.4, 2.1
>         Environment: JDK 1.7.0_25, Windows 7
>            Reporter: Roger Whitcomb
>            Assignee: Roger Whitcomb
>            Priority: Minor
>              Labels: java7, wtk,
>             Fix For: 2.0.4, 2.1
>
>
> 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".

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message