Hi all,

since there are some changes in JDK9 that might get getSimpleName() working on our generated closure classes. I was wondering what kind such a class should actually be.

If we want getSimpleName() to not to return an empty string, then it cannot be an anonymous class. It sure won't be a top-level class. That leaves nested/inner classes and local classes. Usually only local and anonymous classes have an enclosing method, so I think it should be one of those.

If I understand Cedric right, it should be a local class. I think either is fine actually. Historically, the inner class information was not very reliable, so I think we are pretty open for this one

bye blackdrag

--
Jochen "blackdrag" Theodorou
blog: http://blackdragsview.blogspot.com/

Reply via email to