Coin in Action: Using New Java SE 7 Language Features in Real Code

Java: Trends
Location: B110-111
Average rating: ***..
(3.40, 5 ratings)

This session will describe several new language features introduced by “Project Coin” into Java SE 7, how these features have been used in actual code in the JDK, and the impact this has on the quality of the JDK and on Java code in general. Demonstrations of the new features will be shown in NetBeans.

Photo of Stuart Marks

Stuart Marks


Stuart Marks is a Principal Member of Technical Staff in the Java Platform Group at Oracle. He is currently working on enhancing the core libraries of the JDK. He has previously worked on JavaFX and Java ME at Sun Microsystems. He has over twenty years of software platform product development experience in the areas of
window systems, interactive graphics, and mobile and embedded systems. Stuart holds a Master’s degree in Computer Science and a Bachelor’s degree in Electrical Engineering from Stanford University.

Follow @stuartmarks
on Twitter or read Stuart’s blog at

Comments on this page are now closed.


Picture of Stuart Marks
Stuart Marks
07/24/2011 4:06am PDT

Now that I’ve actually prepared the talk :-) I can give more details about it.

I’ve centered the talk around a piece of code in the JDK that I modified to use three new features of Java 7: try-with-resources, more-precise rethrow, and one of the new NIO utilities. I’ll show the code that I started with, and then I’ll apply the features one by one, explaining what they do and why they’re significant. Finally, I’ll show the “before” and “after” code side by side. The result is code that is both more concise and more correct than the original. I’m sure you’ll agree that these and other Java 7 features have great potential to improve your code.