cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nikita Timofeev <ntimof...@objectstyle.com>
Subject Re: Java 9
Date Mon, 02 Oct 2017 14:05:11 GMT
After minor tweaks master now builds on Java 9 [1], MacOS Modeler is
fully functional too.
Need to check Win version and fix 4.0 branch.

[1] https://travis-ci.org/apache/cayenne/builds/282248738

On Sat, Sep 23, 2017 at 3:01 PM, Andrus Adamchik <andrus@objectstyle.org> wrote:
> Now that there is a GA of Java 9, I figured I'll try it out with our upcoming releases.
The initial results are not bad:
>
> * Generic Modeler starts on MacOS and seems to be fully operational.
> * MacOS Modeler does not start.
> * 4.0 core compiles. The build fails later on "cayenne-project" module due to import
conflict [1] (cause Module is now a class in java.lang, we need to an explicit import for
org.apache.cayenne.di.Module). Should be an easy fix.
>
> Not bad...
>
> Andrus
>
>
> [1]
> [INFO] cayenne-parent: Top-level parent of Cayenne modules  SUCCESS [  0.589 s]
> [INFO] build-tools-parent: Cayenne Build Tools Parent ..... SUCCESS [  0.014 s]
> [INFO] cayenne-legal: Cayenne License and Notice Bundle ... SUCCESS [  0.925 s]
> [INFO] cayenne-test-utilities: Common Unit Test Utilities . SUCCESS [  1.312 s]
> [INFO] cayenne-checkers: Cayenne Code Checkers ............ SUCCESS [  0.148 s]
> [INFO] cayenne-di: Cayenne Dependency Injection Container . SUCCESS [  6.759 s]
> [INFO] cayenne-server: Cayenne Server ..................... SUCCESS [01:26 min]
> [INFO] cayenne-project: Cayenne Project ................... FAILURE [  2.892 s]
> [INFO] cayenne-dbsync: Database Synchronization Tools ..... SKIPPED
> [..]
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:testCompile
(default-testCompile) on project cayenne-project: Compilation failure: Compilation failure:
> [ERROR] /Users/andrus/Desktop/Cayenne 4.0.B2/cayenne-4.0.B2-src/cayenne-project/src/test/java/org/apache/cayenne/project/upgrade/v8/ProjectUpgrader_V8Test.java:[103,8]
error: reference to Module is ambiguous
> [ERROR] both interface org.apache.cayenne.di.Module in org.apache.cayenne.di and class
java.lang.Module in java.lang match
>
>
>
>
>
>> On Mar 7, 2017, at 3:24 PM, Nikita Timofeev <ntimofeev@objectstyle.com> wrote:
>>
>> Hi, all
>>
>> FYI here is some test results with JDK9 (after some minor fixes in
>> Cayenne like dependencies update):
>>
>> https://issues.apache.org/jira/browse/CAY-2253
>>
>> On Mon, Feb 20, 2017 at 11:57 AM, Andrus Adamchik
>> <andrus@objectstyle.org> wrote:
>>>
>>>> On Feb 15, 2017, at 4:47 AM, Aristedes Maniatis <ari@maniatis.org>
wrote:
>>>>
>>>> One that we should look at is testing against Java 9 I believe. It doesn't
have to use any Java 9 features, just not break since Java 9 is due out in July.
>>>
>>> There are a few macOS specific things that may affect the Modeler:
>>>
>>> http://docs.oracle.com/javase/9/migrate/toc.htm#JSMIG-GUID-97C1D0BB-D5D3-4CAD-B17D-03A87A0AAF3B
>>>
>>> Otherwise I don't see any warning signs. But of course we need to test it for
real once M5 is out.
>>>
>>> Andrus
>>
>>
>>
>> --
>> Best regards,
>> Nikita Timofeev
>



-- 
Best regards,
Nikita Timofeev

Mime
View raw message