Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8320406

StringConcat.java has duplicate methods added as part of changes done for JDK-8212726

XMLWordPrintable

        test/micro/org/openjdk/bench/java/lang/StringConcat.java is the new file added as part of changes done for JDK-8212726
        This contains one method two times.
        public String concatMix4String()
        which is causing test to fail with compilation error while running the benchmark test.


        [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.9.0:compile (default-compile) on project test: Compilation failure
        [ERROR] /Users/sshivang/Downloads/FreshTest/test/src/main/java/org/openjdk/bench/java/lang/StringConcat.java:[72,19] method concatMix4String() is already defined in class org.openjdk.bench.java.lang.StringConcat
        [ERROR]


        The test is passing after removing the duplicate method.

              rwallace Ryan Wallace (Inactive)
              sshivang Shivangi Gupta
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: