Skip to content

Instructions in README not correct? #1

@tikoo

Description

@tikoo

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions