Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8302822

Method/Field/Constructor/RecordComponent::getGenericInfo() is not thread safe

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 21
    • 19
    • core-libs
    • None

      In the getGenericInfo() methods of Method, Field, Constructor, and RecordComponent, the genericInfo field is read twice, and the second read returned may be null under race conditions.

      Class::getGenericInfo() originally had the same issue, but was fixed in 8016236.

            liach Chen Liang
            liach Chen Liang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: