Just landed:
https://bugzilla.mozilla.org/show_bug.cgi?id=1056128

This means source level 7 is now the default for all Fennec Java code.
Anyone attempting to use an old version of javac will encounter a
configure error.
Due to configure's caching behaviour, if you do an incremental build
with an old compiler you might get something like:

"major version 51 is newer than 50, the highest major version supported
by this compiler"

In either case, you'll need to use at least javac 7 in order to succeed.


On the bright side, this means you can now start using source level 7
features in your code.

You can find a full list of shiny new toys here:
http://docs.oracle.com/javase/7/docs/technotes/guides/language/enhancements.html#javase7

All of these will now work, aside from try-with-resources (which, for
annoying reasons, is incompatible with versions of Android earlier than
API 19 :( )

Enjoy!

_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to