-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b70
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8136290 | emb-9 | Hannes Wallnoefer | P4 | Resolved | Fixed | team |
JDK-8140998 | 8u91 | Hannes Wallnoefer | P4 | Resolved | Fixed | b01 |
JDK-8136922 | 8u72 | Hannes Wallnoefer | P4 | Resolved | Fixed | b01 |
JDK-8147367 | emb-8u91 | Hannes Wallnoefer | P4 | Resolved | Fixed | b01 |
PropertyMapWrapper is a class that implements equals and hashCode on property maps to allow for reuse of maps. It currently just compares properties, but not the owning object's class. If a property map is used with different owner classes accessing any field property will result in a ClassCastException.
I noticed this while working onJDK-8077149, but the code that triggers the ClassCastException will not be part of the fix so I'm filing a separate bug.
I noticed this while working on
- backported by
-
JDK-8136290 PropertyMapWrapper.equals should compare className
-
- Resolved
-
-
JDK-8136922 PropertyMapWrapper.equals should compare className
-
- Resolved
-
-
JDK-8140998 PropertyMapWrapper.equals should compare className
-
- Resolved
-
-
JDK-8147367 PropertyMapWrapper.equals should compare className
-
- Resolved
-