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: [email protected]
For additional commands, e-mail: [email protected]