--- jsr166/src/test/tck/ConcurrentHashMap8Test.java 2015/02/27 21:03:10 1.24 +++ jsr166/src/test/tck/ConcurrentHashMap8Test.java 2015/02/27 21:43:18 1.26 @@ -275,7 +275,7 @@ public class ConcurrentHashMap8Test exte try { full.add(three); shouldThrow(); - } catch (UnsupportedOperationException e){} + } catch (UnsupportedOperationException success) {} } /** @@ -287,7 +287,7 @@ public class ConcurrentHashMap8Test exte try { full.add(null); shouldThrow(); - } catch (NullPointerException e){} + } catch (NullPointerException success) {} } /** @@ -299,7 +299,7 @@ public class ConcurrentHashMap8Test exte try { map.keySet(null); shouldThrow(); - } catch (NullPointerException e) {} + } catch (NullPointerException success) {} ConcurrentHashMap.KeySetView set = map.keySet(one); set.add(one); set.add(six);