Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
-
Windows XP, JDK 1.4, Groovy 6/25 snapshot build
Description
The following script demonstrates the problem. The ".class" syntax and calls to getClass() on any class return the same result: java.lang.Class.
Script:
-------
System.out.println java.lang.String.class
System.out.println java.lang.String.getClass()
System.out.println java.util.LinkedList.class
System.out.println java.util.LinkedList.getClass()
System.out.println java.sql.Timestamp.class
System.out.println java.sql.Timestamp.getClass()
Output:
-------
class java.lang.Class
class java.lang.Class
class java.lang.Class
class java.lang.Class
class java.lang.Class
class java.lang.Class
This may be related to GROOVY-440: