You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Sandro Martini (JIRA)" <ji...@apache.org> on 2014/03/24 12:52:43 UTC

[jira] [Created] (PIVOT-939) Unbale to Build with Java 8

Sandro Martini created PIVOT-939:
------------------------------------

             Summary: Unbale to Build with Java 8
                 Key: PIVOT-939
                 URL: https://issues.apache.org/jira/browse/PIVOT-939
             Project: Pivot
          Issue Type: Improvement
          Components: wtk
         Environment: OpenJDK 8
            Reporter: Sandro Martini
            Assignee: Sandro Martini
             Fix For: 2.1


Jenkins Job for building trunk with Java 8 (using OpenJDK 8 on Ubuntu):
https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/
generate a compile error, see:
https://builds.apache.org/job/Pivot-trunk%20on%20Java%208/1/console
or even here:
http://apache-pivot-developers.417237.n3.nabble.com/Build-failed-in-Jenkins-Pivot-trunk-on-Java-8-1-td4026511.html

This is the error:
    [javac] /x1/jenkins/jenkins-slave/workspace/Pivot-trunk on Java 8/pivot_trunk/wtk/src/org/apache/pivot/wtk/BrowserApplicationContext.java:395: error: cannot find symbol
    [javac]             JSObject window = JSObject.getWindow(applicationHostApplet);
    [javac]                                       ^
    [javac]   symbol:   method getWindow(HostApplet)
    [javac]   location: class JSObject

Check if this happens even with Oracle JDK 8.




--
This message was sent by Atlassian JIRA
(v6.2#6252)