Hi, In Java 8, '_' will become a reserved keyword for lambda expressions. It's already generate compiler warning: [WARNING] bootstrap class path not set in conjunction with -source 1.6 xxx:[28,35] '_' used as an identifier [WARNING] (use of '_' as an identifier might not be supported in future releases) I maybe be the time to think about _() method future... -- Éric Chatellier - Code Lutin Tel: 02.40.50.29.28 - http://www.codelutin.com
Le 05/03/2013 17:55, Eric Chatellier a écrit :
Hi,
In Java 8, '_' will become a reserved keyword for lambda expressions.
It's already generate compiler warning: [WARNING] bootstrap class path not set in conjunction with -source 1.6 xxx:[28,35] '_' used as an identifier [WARNING] (use of '_' as an identifier might not be supported in future releases)
I maybe be the time to think about _() method future... A new name has been proposed : $ (it's a valid Java syntax).
A pollen poll has been created to validate translation method's future name: http://pollen.chorem.org/pollen/poll/votefor/05ac95881423405bbfe48d9828da1fb... You can add choice until avril 30, and vote until may 5. -- Éric Chatellier - Code Lutin Tel: 02.40.50.29.28 - http://www.codelutin.com
On Mon, 22 Apr 2013 12:03:28 +0200 Eric Chatellier <chatellier@codelutin.com> wrote:
Le 05/03/2013 17:55, Eric Chatellier a écrit :
Hi,
In Java 8, '_' will become a reserved keyword for lambda expressions.
It's already generate compiler warning: [WARNING] bootstrap class path not set in conjunction with -source 1.6 xxx:[28,35] '_' used as an identifier [WARNING] (use of '_' as an identifier might not be supported in future releases)
I maybe be the time to think about _() method future... A new name has been proposed : $ (it's a valid Java syntax).
A pollen poll has been created to validate translation method's future name: http://pollen.chorem.org/pollen/poll/votefor/05ac95881423405bbfe48d9828da1fb...
You can add choice until avril 30, and vote until may 5.
Arch I missed the vote :( Result: http://pollen.chorem.org/pollen/poll/results/05ac95881423405bbfe48d9828da1fb... Winner is *t()*. I created the issue for this: http://nuiton.org/issues/2687 tony.
Le 05/03/2013 17:55, Eric Chatellier a écrit :
Hi,
In Java 8, '_' will become a reserved keyword for lambda expressions.
It's already generate compiler warning: [WARNING] bootstrap class path not set in conjunction with -source 1.6 xxx:[28,35] '_' used as an identifier [WARNING] (use of '_' as an identifier might not be supported in future releases) Just tested again with jdk8 build 86, this now result in compilation error: xxx.java:[622,23] '_' used as an identifier [ERROR] (use of '_' as an identifier might not be supported in future releases)
-- Éric Chatellier - Code Lutin Tel: 02.40.50.29.28 - http://www.codelutin.com
Le 05/03/2013 à 17:55, Eric Chatellier a écrit :
Hi,
In Java 8, '_' will become a reserved keyword for lambda expressions.
It's already generate compiler warning: xxx:[28,35] '_' used as an identifier [WARNING] (use of '_' as an identifier might not be supported in future releases) Hi,
This warning is now a compile error in JDK 9. -- Éric Chatellier - www.codelutin.com - 02.40.50.29.28
participants (2)
-
Eric Chatellier -
Tony Chemit