You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a annotation (maybe classes too) named as a class in java.lang (eg. Exception) is it not possible anymore to use the java.lang-Class in this package anymore.
The text was updated successfully, but these errors were encountered:
Lexanius
changed the title
[Bug] compiler use wrong classes if a annotation has the same name as classes injava.lang
[Bug] compiler use wrong classes if a annotation has the same name as classes in java.lang
Apr 27, 2018
What happend:
If a annotation (maybe classes too) named as a class in java.lang (eg. Exception) is it not possible anymore to use the java.lang-Class in this package anymore.
ExceptionAnnotation.xtend:
will compile to:
ExceptionProcessor.java:
and
Exception.java:
What should happend
the compile should check, if there are a class the same as java.lang-Class is in the packag and so
should
and
should
System
Workaround
The text was updated successfully, but these errors were encountered: