Details
-
Bug
-
Resolution: Fixed
-
P2
-
11.0.21.0.2-oracle, 11.0.23-oracle
-
b01
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8322274 | 11.0.22.0.1-oracle | Dukebot | P2 | Resolved | Fixed | b01 |
JDK-8320528 | 11.0.21.0.2-oracle | Ryan Wallace | P2 | Resolved | Fixed | b02 |
Description
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.
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.
Attachments
Issue Links
- backported by
-
JDK-8320528 StringConcat.java has duplicate methods added as part of changes done for JDK-8212726
-
- Resolved
-
-
JDK-8322274 StringConcat.java has duplicate methods added as part of changes done for JDK-8212726
-
- Resolved
-
- relates to
-
JDK-8212726 Replace some use of drop- and foldArguments with filtering argument combinator in StringConcatFactory
-
- Resolved
-
-
JDK-8213035 Pack MethodHandleInlineStrategy coder and length into a long
-
- Resolved
-