On FreeBSD (which I track myself for work and on which many of the Jenkins slaves run) Java 8 is still in testing. I'd give it another month or so. But some of the Linux environments should have it if we bind our test runs to those slaves only.
In my own work, based on Cayenne 3.2, I'm not seeing any OSX/Java 8 issues. But I'm not running the Cayenne test suite, just our own. Ari On 2/04/2014 6:25pm, Andrus Adamchik wrote: > Anyone knows if we have Java 8 on the CI server? Maybe we should add it to > the 3.2 tests.. Another set of red balls to pay attention to :) > > A. > > > On Mar 21, 2014, at 6:52 PM, John Huss <johnth...@gmail.com> wrote: > >> On Fri, Mar 21, 2014 at 9:51 AM, Andrus Adamchik >> <and...@objectstyle.org>wrote: >> >>> Oh, nice! I missed the announcement. >>> >>>>> [ERROR] * Implementation of {@link #BatchQueryBuilderFactory}, which >>> uses >>> >>> Should be BatchTranslator. This is a recent refactoring. >>> >>>>> [ERROR] >>>>> >>> /Users/john/cayenne/modeler/cayenne-modeler-mac-ext/src/main/java/org/apache/cayenne/modeler/osx/OSXPlatformInitializer.java:[39,21] >>>>> error: package com.apple.eawt does not exist >>> >>> Yeah, this worked with Oracle Java 7, so there's gotta be a way to make it >>> work. >>> >>> I wonder if we use this occasion to stop supporting Java 6 on 3.2. This is >>> such an old news. Anyways just throwing it here to see if anyone has strong >>> objections. >>> >> >> We're still running Java 6 mostly because there just wasn't a compelling >> reason to move to Java 7. So I'd be reluctant to drop support too quickly. >> But Java 8 looks very nice; if dropping support for Java 6 speeds up the >> process of getting to Java 8 then it might be worth it. >> >> Java 8 also includes the new Date & Time API (JSR-310), which should >> probably be supported in Cayenne eventually. It's very similar to Joda >> from what I hear. >> >> >>> On Mar 21, 2014, at 5:38 PM, John Huss <johnth...@gmail.com> wrote: >>> >>>> Still Java 8 just came out I decided to try and compile Cayenne using it >>>> (oracle version). The code compiled without a problem. There were a >>> bunch >>>> of javadoc issues that caused that part to fail so I fixed all those >>> except >>>> this one (since I'm not sure what to change it to): >>>> >>>> [ERROR] >>>>> >>> /Users/john/cayenne/docs/doc/target/sources/org/apache/cayenne/access/translator/batch/SoftDeleteTranslatorFactory.java:28: >>>>> error: reference not found >>>>> [ERROR] * Implementation of {@link #BatchQueryBuilderFactory}, which >>> uses >>>>> 'soft' delete >>>>> [ERROR] ^ >>>> >>>> >>>> Then the modeler failed to build on Mac because it couldn't find >>>> com.apple.eawt: >>>> >>>>> [ERROR] Failed to execute goal >>>>> org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile >>>>> (default-compile) on project cayenne-modeler-mac-ext: Compilation >>> failure: >>>>> Compilation failure: >>>>> [ERROR] >>>>> >>> /Users/john/cayenne/modeler/cayenne-modeler-mac-ext/src/main/java/org/apache/cayenne/modeler/osx/OSXPlatformInitializer.java:[39,21] >>>>> error: package com.apple.eawt does not exist >>>> >>>> This package (and the classes) DOES exist in rt.jar, so for some reason >>> it >>>> is just not finding it. If I comment out the apple code then the entire >>>> build completes successfully. >>>> >>>> >>>> John >>> >>> > -- --------------------------> Aristedes Maniatis GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A