Implicit 'this' return for void methods (original) (raw)
Victor Polischuk victor2 at ukr.net
Tue Mar 25 20:19:56 UTC 2014
- Previous message: RFR(S): 8034960: Serviceability tests using @library failing with java.lang.NoClassDefFoundError
- Next message: Implicit 'this' return for void methods
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Good day, everyone,
I have a question regarding a proposal I found some time ago: http://tech.puredanger.com/java7#chained.
In a word, it is all about replacing 'void' behavior to always return 'this' and I think for static methods it would be nice to return Class instance. I have not found any mentions in JEPs and just wonder if the idea is rejected or still somewhere in pipeline for Java 1.x. (or perhaps it is just waiting to be filed by someone in brand new JEP).
Regards, Victor Polischuk
- Previous message: RFR(S): 8034960: Serviceability tests using @library failing with java.lang.NoClassDefFoundError
- Next message: Implicit 'this' return for void methods
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]