Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update String model class to comply with JEP 254 #39

Merged
merged 1 commit into from
May 11, 2018

Conversation

gayanW
Copy link
Collaborator

@gayanW gayanW commented May 11, 2018

Due to the implementation changes made to the standard Java String and
related classes in JEP 254 (Java 9 and later), JPF String model class
now fails to compile. This updates String model class to comply with the
internal API changes.

This make String model class to follow a internal representation similar
to the standard String class in Java 9 and later which uses byte array
plus an encoding-flag field instead of UTF-16 char array to represent a
String.

Fixes: #37

Due to the implementation changes made to the standard Java String and
related classes in JEP 254 (Java 9 and later), JPF String model class
now fails to compile. This updates String model class to comply with the
internal API changes.

This make String model class to follow a internal representation similar
to the standard String class in Java 9 and later which uses byte array
plus an encoding-flag field instead of UTF-16 char array to represent a
String.

Fixes: javapathfinder#37
@cyrille-artho cyrille-artho merged commit 786a052 into javapathfinder:java-10 May 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants