GitHub user jwagenleitner opened a pull request:

    https://github.com/apache/groovy/pull/225

    GROOVY-7716 - groovy.json.internal.FastStringUtils fails on jdk9

    JDK 9 Compat Strings enhancement changed the internal representation of the 
value field from a char[] to a combination of a byte[] and an encoding flag 
field (see http://openjdk.java.net/jeps/254).  As a workaround this change 
allows fallback to the normal String#toCharArray method and bypasses using 
direct access.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jwagenleitner/groovy GROOVY-7716

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/groovy/pull/225.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #225
    
----
commit d6d9647c75edaa187c213f26e1aa3ac2ea708277
Author: John Wagenleitner <jwagenleit...@apache.org>
Date:   2015-12-26T21:35:01Z

    GROOVY-7716 - 
groovy.json.internal.FastStringUtils.StringImplementation#toCharArray fails on 
jdk9
    
    JDK 9 Compat Strings enhancement changed the internal representation of the 
value field from a char[] to a combination of a byte[] and an encoding flag 
field (see http://openjdk.java.net/jeps/254).  As a workaround this change 
allows fallback to the normal String#toCharArray method and bypasses using 
direct access.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to