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

Sandro Martini commented on PIVOT-872:
--------------------------------------

After some tests probably I found the problem:
now Java 7 (after the Update 4) has inside even the Java FX Runtime in the 
jre/lib folder, and inside its jfxrt.jar there is ANOTHER version of 
netscape.javascript.JSObject class, AND that version hasn't the 
getWindow(Applet) static method ... just to make some confusion.

Currently in our builds we get all jre/lib jars (which is wrong, ok), and 
probably most times the jfxrt.jar is searched for classes before the usual 
plugin.jar, so the compilation error.

Tomorrow I'll make other tests, and a fix for our build files.

                
> Build error with JDK 7 Update 7
> -------------------------------
>
>                 Key: PIVOT-872
>                 URL: https://issues.apache.org/jira/browse/PIVOT-872
>             Project: Pivot
>          Issue Type: Bug
>         Environment: Linux, Windows, and probably all others
>            Reporter: Sandro Martini
>            Assignee: Sandro Martini
>             Fix For: 2.1, 2.0.3
>
>
> It seems that latest JDK Update 7 has changed something in the plugin.jar, so 
> that now during a build of Pivot sources gives compilation errors.
> Note that up to JDK 7 Update 4 (and maybe others later, too) all was good (as 
> currently it is in our CI Builds at Apache, some using Java 7).
> I have to verify with Oracle how to solve this.
> Some info here: 
> http://apache-pivot-users.399431.n3.nabble.com/Help-with-Pivot-2-1-build-error-td4022110.html

--
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

Reply via email to