Details
-
Type:
Bug
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
Marcelll posted the following bug report on [janino-user]:
Hello Arno
I've tried to compile my class body with the new 2.53 version and the
integrated new static import feature.
When trying this i receive the strange error :Class "myclass" was first imported as "com.xxx.xxx", now as "com.xxx.xxx"
Again i'm using the class body evaluator. Any idea what's going wrong ?
Thanks in advance fo any help !
According to the JLS3, duplicate single-type-imports, e.g.
or duplicate single-static-imports, e.g.
are not an error (as JANINO reports).
Inconsistent single-type-imports or single-static-imports, e.g.
are errors, of course!