BT
rss
Java Follow 939 Followers

Java Enums to Be Enhanced with Sharper Type Support

by Abraham Marín Pérez Follow 8 Followers on  Jan 10, 2017 5

Java enums will be enhanced with generics support and with the ability to add methods to individual items, a new JEP shows. Since both features can be delivered with the same code change, they are bundled together in the same JEP. The change only affects the Java compiler, and therefore no runtime changes are needed. Although there is no target version, Java 10 seems likely.

Java Follow 939 Followers

Oracle Presents First Proposal for Value Types Implementation

by Abraham Marín Pérez Follow 8 Followers on  Nov 09, 2016 1

A couple of months ago, John Rose, JVM Architect, and Brian Goetz, Java Language Architect, both at Oracle, published the first minimal value type proposal to allow early prototyping. At this point, the proposal makes no changes to the Java language itself, and adds only one new bytecode instruction. InfoQ analysed this proposal to indicate the direction that Project Valhalla is heading.

Login to InfoQ to interact with what matters most to you.


Recover your password...

Follow

Follow your favorite topics and editors

Quick overview of most important highlights in the industry and on the site.

Like

More signal, less noise

Build your own feed by choosing topics you want to read about and editors you want to hear from.

Notifications

Stay up-to-date

Set up your notifications and don't miss out on content that matters to you

BT