Sponsors

  • Google
  • JBoss
  • OpenShift
  • Oracle
  • VMware
  • WSO2

Sponsorship Opportunities

For information on exhibition and sponsorship opportunities at the convention, contact Sharon Cordesse at scordesse@oreilly.com

Download the OSCON Java Sponsor/Exhibitor Prospectus

Media Partner Opportunities

For information on trade opportunities with O'Reilly conferences or contact mediapartners@ oreilly.com

Press and Media

For media-related inquiries, contact Maureen Jennings at maureen@oreilly.com

OSCON Bulletin

To stay abreast of convention news and annoucements, please sign up for the OSCON email bulletin (login required)

Contact Us

View a complete list of OSCON contacts

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

Stuart Marks (Oracle)
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

Oracle

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 stuartmarks.wordpress.com

Comments on this page are now closed.

Comments

Picture of Stuart Marks
Stuart Marks
07/24/2011 11: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.