[infinispan-issues] [JBoss JIRA] (IPROTO-96) Annotation processor does not handle well incremental compilation

Nistor Adrian (Jira) issues at jboss.org
Wed Jun 5 06:13:00 EDT 2019


Nistor Adrian created IPROTO-96:
-----------------------------------

             Summary: Annotation processor does not handle well incremental compilation
                 Key: IPROTO-96
                 URL: https://issues.jboss.org/browse/IPROTO-96
             Project: Infinispan ProtoStream
          Issue Type: Bug
    Affects Versions: 4.3.0.Alpha6
            Reporter: Nistor Adrian


The RoundEnvironment might not always contain the whole root elements from source path. In case of incremental compilation that will certainly be an issue, preventing discovery of @ProtoXyz annotated classes.

A possible way to solve this is to annotate the generated code with that list of user classes from which it originates. This allows us to trace back to the classes that need to be scanned by which are not present in RoundEnvironment as root elements.





--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the infinispan-issues mailing list