JDK-2225673 : (ann) Race condition between isAnnotationPresent and getAnnotations
  • Type: Backport
  • Backport of: JDK-7122142
  • Component: core-libs
  • Sub-Component: java.lang
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2012-06-18
  • Updated: 2014-05-12
  • Resolved: 2013-09-18
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other JDK 8
5.0-poolResolved 8Fixed
Comments
Both escalations were closed w/o requesting a fix at the moment (14113650,14404094). The proposed fix will not be integrated into 5 and 6 until escalated due to potential performance degradation. I raise the priority back to P3 in order to not forget that the issue should be addressed in jdk8 first, which would require some refactoring of annotations-related code.
15-10-2012

EVALUATION Due to of Annotation/AnnotationType interdependency a deadlock is possible at a time of initializations.
18-06-2012