RFR: 8048209 : (s) Collections.synchronizedNavigableSet().tailSet(Object, boolean) synchronizes on wrong object (original) (raw)
Mike Duigou mike.duigou at oracle.com
Thu Jul 24 07:12:20 UTC 2014
- Previous message: RFR: 8044671: NPE from JapaneseEra when a new era is defined in calendar.properties
- Next message: RFR: 8048209 : (s) Collections.synchronizedNavigableSet().tailSet(Object, boolean) synchronizes on wrong object
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello all;
This change fixes an issue with the instance returned by Collections.synchronizedNavigableSet().tailSet(Object,boolean) which synchronizes on wrong object, itself rather than the same mutex as it's source.
jbsbug: https://bugs.openjdk.java.net/browse/JDK-8048209 webrev: http://cr.openjdk.java.net/~mduigou/JDK-8048209/0/webrev/
Since I was concerned that there might be other lurking errors I opted to create a fairly thorough new test which, thankfully, revealed no additional problems.
Mike
- Previous message: RFR: 8044671: NPE from JapaneseEra when a new era is defined in calendar.properties
- Next message: RFR: 8048209 : (s) Collections.synchronizedNavigableSet().tailSet(Object, boolean) synchronizes on wrong object
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]