Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.8-beta-3
-
None
Description
Following the mailing list thread at http://groovy.markmail.org/message/hn6xu7btb6rjtfdb?q=%22Groovy+and+nulls%22, it is to suggest that we have the same semantics for following 2 versions for consistency sake:
null.class
and
null.getClass()
Currently the property access throws NPE and method acces gives the NullObject class.