geode-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anthony Baker (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GEODE-3) Support JDK 9 on Geode
Date Sat, 22 Aug 2015 03:20:45 GMT

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

Anthony Baker commented on GEODE-3:
-----------------------------------

Oracle has provided a path forward for critical internal API's (like Unsafe) under JDK9:
http://mail.openjdk.java.net/pipermail/jigsaw-dev/2015-August/004433.html

A build with 1.9.0-ea-b78 shows compiler warnings as noted in GEODE-130.  In addition there
are errors due to type conversion problems for things like:

{noformat}
/Users/abaker/code/incubator-geode/gemfire-core/src/main/java/com/gemstone/gemfire/internal/cache/partitioned/PartitionRegionInfoImpl.java:79:
error: incompatible types: Set<CAP#1> cannot be converted to Set<InternalPartitionDetails>
    return Collections.unmodifiableSet((Set<? extends InternalPartitionDetails>)this.memberDetails);
                                      ^
  where CAP#1 is a fresh type-variable:
    CAP#1 extends InternalPartitionDetails from capture of ? extends InternalPartitionDetails
{noformat}

If I change the source/target compatibility to 1.9 those errors are resolved but we need to
remove the {{MaxPermSize}} from the Test task configuration closure for the build to succeed.
 Attempting to start a locator via gfsh was unsuccessful at least from the perspective of
gfsh returning control from the {{start locator}} command.  Also, these log warnings:

{noformat}

[warning 2015/08/21 20:15:46.575 PDT loc <main> tid=0x1] Java version older than 1.7.0_72.

[warning 2015/08/21 20:15:46.575 PDT loc <main> tid=0x1] Minimum system requirements
not met. Unexpected behavior may result in additional errors.
{noformat}

> Support JDK 9 on Geode
> ----------------------
>
>                 Key: GEODE-3
>                 URL: https://issues.apache.org/jira/browse/GEODE-3
>             Project: Geode
>          Issue Type: Improvement
>          Components: core, general
>            Reporter: Pid
>
> JDK 9 Schedule: http://openjdk.java.net/projects/jdk9/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message