-
Bug
-
Resolution: Fixed
-
P3
-
7u60
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8034586 | 7u65 | Shi Zhang | P3 | Resolved | Fixed | b01 |
JDK-8021551 | 7u51 | Unassigned | P3 | Resolved | Fixed | b01 |
JDK-8021492 | 7u45 | Unassigned | P3 | Closed | Fixed | b05 |
JDK-8020831 | 7u40 | Unassigned | P3 | Closed | Fixed | b35 |
there is no java.util.function.BiFunction class in 7u and the testcase needs updating.
command: compile -XDignore.symbol.file=true /opt/jprt/T/P1/165231.scoffey/s/jdk/test/java/util/HashMap/OverrideIsEmpty.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.09
direct:
/opt/jprt/T/P1/165231.scoffey/s/jdk/test/java/util/HashMap/OverrideIsEmpty.java:36: error: package java.util.function does not exist
import java.util.function.BiFunction;
^
/opt/jprt/T/P1/165231.scoffey/s/jdk/test/java/util/HashMap/OverrideIsEmpty.java:69: error: cannot find symbol
map.replace(key, value, null);
^
symbol: method replace(Object,Object,<null>)
location: variable map of type NotEmptyHashMap<Object,Object>
/opt/jprt/T/P1/165231.scoffey/s/jdk/test/java/util/HashMap/OverrideIsEmpty.java:70: error: cannot find symbol
map.replace(key, value);
^
symbol: method replace(Object,Object)
location: variable map of type NotEmptyHashMap<Object,Object>
/opt/jprt/T/P1/165231.scoffey/s/jdk/test/java/util/HashMap/OverrideIsEmpty.java:71: error: cannot find symbol
map.computeIfPresent(key, new BiFunction<Object, Object, Object>() {
^
symbol: class BiFunction
location: class OverrideIsEmpty
4 errors
TEST RESULT: Failed. Compilation failed: Compilation failed
command: compile -XDignore.symbol.file=true /opt/jprt/T/P1/165231.scoffey/s/jdk/test/java/util/HashMap/OverrideIsEmpty.java
reason: .class file out of date or does not exist
elapsed time (seconds): 0.09
direct:
/opt/jprt/T/P1/165231.scoffey/s/jdk/test/java/util/HashMap/OverrideIsEmpty.java:36: error: package java.util.function does not exist
import java.util.function.BiFunction;
^
/opt/jprt/T/P1/165231.scoffey/s/jdk/test/java/util/HashMap/OverrideIsEmpty.java:69: error: cannot find symbol
map.replace(key, value, null);
^
symbol: method replace(Object,Object,<null>)
location: variable map of type NotEmptyHashMap<Object,Object>
/opt/jprt/T/P1/165231.scoffey/s/jdk/test/java/util/HashMap/OverrideIsEmpty.java:70: error: cannot find symbol
map.replace(key, value);
^
symbol: method replace(Object,Object)
location: variable map of type NotEmptyHashMap<Object,Object>
/opt/jprt/T/P1/165231.scoffey/s/jdk/test/java/util/HashMap/OverrideIsEmpty.java:71: error: cannot find symbol
map.computeIfPresent(key, new BiFunction<Object, Object, Object>() {
^
symbol: class BiFunction
location: class OverrideIsEmpty
4 errors
TEST RESULT: Failed. Compilation failed: Compilation failed
- backported by
-
JDK-8021551 [TESTBUG] java/util/HashMap/OverrideIsEmpty.java doesn't compile for jdk7u
- Resolved
-
JDK-8034586 [TESTBUG] java/util/HashMap/OverrideIsEmpty.java doesn't compile for jdk7u
- Resolved
-
JDK-8020831 [TESTBUG] java/util/HashMap/OverrideIsEmpty.java doesn't compile for jdk7u
- Closed
-
JDK-8021492 [TESTBUG] java/util/HashMap/OverrideIsEmpty.java doesn't compile for jdk7u
- Closed
- relates to
-
JDK-8019381 HashMap.isEmpty is non-final, potential issues for get/remove
- Closed