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

Method String.join new in java8 (not in java7) #130

Open
pier7529 opened this issue Feb 12, 2019 · 1 comment
Open

Method String.join new in java8 (not in java7) #130

pier7529 opened this issue Feb 12, 2019 · 1 comment

Comments

@pier7529
Copy link

pier7529 commented Feb 12, 2019

We try to implement version 2.1.0 of sdk. It's not possible with Java 7 in opposition with you documentation Minimum Requirements : Java Development Kit 7.

There are in source code specific instructions from Java 8, see command lines in the class LocationCache.java :
logger.trace("Current writeEndpoints = ({}) readEndpoints = ({})",
String.join(", ", nextLocationInfo.writeEndpoints.toString()),
String.join(", ", nextLocationInfo.readEndpoints.toString()));
The instruction String.join was only introduced in Java 8 (JDK 1.8) :
https://docs.oracle.com/javase/**7**/docs/api/java/lang/String.html
https://docs.oracle.com/javase/**8**/docs/api/java/lang/String.html

FYI, same issue in version of SDK 2.1.1.

Also:
https://stackoverflow.com/questions/23413092/error-under-ubuntu-with-the-method-string-join

Let me know how you will fix it.
Thanks,

@pier7529
Copy link
Author

There is another similar issue in version 2.1.0,
VectorSessionToken class contains also the string.join() function.

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

No branches or pull requests

1 participant