Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2156

EnhancedAnnotatedTypeImpl is not immutable

    XMLWordPrintable

Details

    Description

      Multimap declaredMetaAnnotationMap can be modified by means of getDeclaredMetaAnnotations(). This causes ConcurrentModificationException during bootstrap when using Java 9 where HashMap#computeIfAbsent() detects concurrent modifications.

      This is not an issue for Weld 2.3 where a regular Map is used.

      Attachments

        Issue Links

          Activity

            People

              mkouba@redhat.com Martin Kouba
              mkouba@redhat.com Martin Kouba
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: