Hi Roger, don't worry, I'll try in a few days with JDK 6 Update 45 on a Windows PC, but I think all should be good the same.
Thanks for now. Bye, Sandro 2013/8/6 Roger L. Whitcomb <roger.whitc...@actian.com>: > Hi Sandro, > I updated the 2.0.x branch and it builds okay with JDK 1.7.0_25 > also. I'm trying now with JDK 6 on OSX to see what I get (1.6.0_51), > and everything builds fine there too. I don't have a JDK 6 anymore on > my Windows machine. > > ~Roger > > > -----Original Message----- > From: Sandro Martini [mailto:sandro.mart...@gmail.com] > Sent: Monday, August 05, 2013 5:06 PM > To: Developers - Apache Pivot > Subject: Re: New error on Jenkins builds > > Hi Roger, great !! > > I remember to have already fix something like this past year (now I > don't remember exactly where) ... anyway good catch. > > If you have some time, could you try the same fix even in 2.0.x branch > (and then build all, but with a latest JDK 6, to ensure that all works > the same) ? Thank you very much. > > Bye, > Sandro > > > 2013/8/6 Roger L. Whitcomb <roger.whitc...@actian.com>: >> I found this reference: >> http://stackoverflow.com/questions/13308495/why-is-getwindow-not-able- >> to >> -be-resolved >> Which suggests that JSObject lives in two different .jar files: >> jfxrt.jar and plugin.jar, and because the Java FX one is >> alphabetically first that the one we need in "plugin.jar" is not >> resolved. So, I specifically excluded "jfxrt.jar" from our classpath > (in "build.xml"): >> >> Index: build.xml >> =================================================================== >> --- build.xml (revision 1510798) >> +++ build.xml (working copy) >> @@ -25,7 +25,7 @@ >> <pathelement location="${env.CLASSPATH}"/> >> </path> >> <path id="classpath.javalib"> >> - <fileset dir="${java.home}/lib" includes="**/*.jar"/> >> + <fileset dir="${java.home}/lib" includes="**/*.jar" >> excludes="**/jfxrt.jar"/> >> </path> >> <property name="classpath_env" refid="classpath.env"/> >> <property name="classpath_javalib" refid="classpath.javalib"/> >> >> and everything builds again with 1.7.0_25. I will checkin this tiny >> fix after I create the JIRA. >> >> ~Roger >> >> >> -----Original Message----- >> From: Sandro Martini [mailto:sandro.mart...@gmail.com] >> Sent: Monday, August 05, 2013 4:32 PM >> To: Developers - Apache Pivot >> Subject: Re: New error on Jenkins builds >> >> On a PC I have a JDK 7 Update 21, I have to verify ... but for sure >> with >> 7 Update 25 it happens. >> >> Let's update soon. >> >> Bye >> >> >> >> 2013/8/6 Roger L. Whitcomb <roger.whitc...@actian.com> >> >>> I don't see this with the 1.7.0_04 compiler, so I'm updating to >>> 1.7.0_25 to see what I get. >>> >>> ~Roger >>> >>> -----Original Message----- >>> From: Sandro Martini [mailto:sandro.mart...@gmail.com] >>> Sent: Monday, August 05, 2013 4:15 PM >>> To: Developers - Apache Pivot >>> Subject: Re: New error on Jenkins builds >>> >>> Hi Roger, >>> yes I have seen this a few days ago ... could be some small change >>> inside one of latest updates of JDK 7 ... that restrict/block the >>> usage of JSObject class. >>> So now we need a JIRA issue for this, targeted at 2.0.4 and 2.1. >>> >>> I'll do some test during this week (if possible). >>> >>> If someone has news/info on this, please post here. >>> >>> Bye, >>> Sandro >>> >>> >>> >>> 2013/8/5 Roger L. Whitcomb <roger.whitc...@actian.com> >>> >>> > Just noticed that there is a new error that is showing up in the >>> > Pivot >>> >>> > maintenance builds with Java 7. I do not understand why this is >>> > just now showing up since no code has been changed on our side >>> > (that >> >>> > I know >>> > of): >>> > >>> > wtk: >>> > >>> > [mkdir] Created dir: >>> > /home/hudson/jenkins-slave/workspace/Pivot-maintenance on Java >>> > 7/pivot_maintenance/wtk/ant-bin >>> > >>> > [javac] Compiling 402 source files to >>> > /home/hudson/jenkins-slave/workspace/Pivot-maintenance on Java >>> > 7/pivot_maintenance/wtk/ant-bin >>> > >>> > [javac] warning: [options] bootstrap class path not set in >>> > conjunction with -source 1.6 >>> > >>> > [javac] /home/hudson/jenkins-slave/workspace/Pivot-maintenance >>> > on Java >>> > 7/pivot_maintenance/wtk/src/org/apache/pivot/wtk/BrowserApplication >>> > C >>> > on >>> > te >>> > xt.java:404: error: cannot find symbol >>> > >>> > [javac] JSObject window = >>> > JSObject.getWindow(applicationHostApplet); >>> > >>> > [javac] ^ >>> > >>> > [javac] symbol: method getWindow(HostApplet) >>> > >>> > [javac] location: class JSObject >>> > >>> > [javac] 1 error >>> > >>> > [javac] 1 warning >>> > >>> > >>> > >>> > Anyone have any clues? Thanks. >>> > >>> > >>> > >>> > ~Roger Whitcomb >>> > >>> > >>>