Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-8584

[Broker-J] Compile warning unknown enum constant com.google.j2objc.annotations.ReflectionSupport.Level.FULL

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • qpid-java-broker-8.0.6
    • qpid-java-broker-9.0.0
    • Broker-J
    • None

    Description

      During compilation of Broker-J there are shown warnings

      unknown enum constant com.google.j2objc.annotations.ReflectionSupport.Level.FULL

      They seem to be associated with the guava dependency:

      <groupId>com.google.guava</groupId>
      <artifactId>guava</artifactId>

      which has exclusion of the j2objc-annotations dependency

      <exclusion>
       <groupId>com.google.j2objc</groupId>
       <artifactId>j2objc-annotations</artifactId>
      </exclusion>

      j2objc-annotations contains missing enum leading to the warnings.

      Instead of excluding in guava dependency j2objc-annotations should be excluded in assembly descriptor.

      Attachments

        Activity

          People

            Unassigned Unassigned
            daniel.kirilyuk Daniil Kirilyuk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: