]
Nistor Adrian reassigned IPROTO-162:
------------------------------------
Assignee: Nistor Adrian
MirrorClass.getEnclosingClass() is broken and always returs null
----------------------------------------------------------------
Key: IPROTO-162
URL:
https://issues.redhat.com/browse/IPROTO-162
Project: Infinispan ProtoStream
Issue Type: Bug
Affects Versions: 4.3.0.Final
Reporter: Nistor Adrian
Assignee: Nistor Adrian
Priority: Major
Message types generated with annotation processing during compile time should follow the
nesting of the classes from which they are generated. But since getEnclosingClass() always
returns null that leads to all types becoming top level types in the generated schema.
Interestingly, the runtime variant of this, ReflectionClass.getEnclosingClass() works
correctly and we only test that one in our suite.