• Bug
  • Status: Closed
  • 2 Major
  • Resolution: Fixed
  • hsingh
  • Reporter: teck
  • August 04, 2009
  • 0
  • Watchers: 0
  • February 12, 2013
  • August 04, 2009

Description

iterator() on the aforementioned class uses an anonymous inner class. We are not currently instrumenting that type and it can perform a naked field read on its enclosing instance of java.util.Collections$UnmodifiableCollection.

CollectionsWrappersTest can be updated to cover this case quite easily.

A quick glance at the other wrapper implementations in java.util.Collections shows that the same issue might exist for other types as well (eg. UnmodifiableList, etc)

Comments

Himadri Singh 2009-08-11

CollectionsWrappersTest passed in version 13396.