geode-issues mailing list archives

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


Anthony Baker commented on GEODE-3:

Oracle has provided a path forward for critical internal API's (like Unsafe) under JDK9:

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:

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

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:


[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.

> Support JDK 9 on Geode
> ----------------------
>                 Key: GEODE-3
>                 URL:
>             Project: Geode
>          Issue Type: Improvement
>          Components: core, general
>            Reporter: Pid
> JDK 9 Schedule:

This message was sent by Atlassian JIRA

View raw message