You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Lorenz Quack (JIRA)" <ji...@apache.org> on 2017/01/17 13:55:26 UTC

[jira] [Created] (QPID-7627) [Java Broker] Ensure DoOnConfigThread annotation is processed across compilation units

Lorenz Quack created QPID-7627:
----------------------------------

             Summary: [Java Broker] Ensure DoOnConfigThread annotation is processed across compilation units
                 Key: QPID-7627
                 URL: https://issues.apache.org/jira/browse/QPID-7627
             Project: Qpid
          Issue Type: Bug
          Components: Java Broker
            Reporter: Lorenz Quack
            Priority: Minor
             Fix For: qpid-java-7.0


Currently the DoOnConfigThread annotation's retention policy is {{SOURCE}} this means the annotation is discarded by the compiler and not present in the compiled class file. when subsequently used by other compilation units it will no longer be present causing the annotation to not be processed correctly. 

The retention policy should be changed to {{CLASS}} or {{RUNTIME}} to ensure that the correct processing/code generation will be performed on subclasses in other compilation units.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org