string-performance icon indicating copy to clipboard operation
string-performance copied to clipboard

Instructions in README not correct?

Open tikoo opened this issue 6 years ago • 0 comments

As per the README:

_JDK 8 or later is required to build the code. Make sure that your JAVA_HOME points to proper JDK release and the run the following command:

./gradlew shadowJar_

$ javac -version javac 1.8.0_121

$ ./gradlew shadowJar

/Users/rtikoo/projects/string-performance/src/main/java/eu/javaspecialists/perf/string/StringIntrinsicsBenchmark.java:177: error: cannot find symbol return Arrays.mismatch(value, other) == -1; ^ symbol: method mismatch(byte[],byte[]) location: class Arrays 1 error

FAILURE: Build failed with an exception.

  • What went wrong: Execution failed for task ':compileJava'.

Compilation failed; see the compiler error output for details.

  • Arrays.mismatch() was added in Java 9.

tikoo avatar May 08 '19 18:05 tikoo