Facilitating the spread of knowledge and innovation in professional software development



Choose your language

InfoQ Homepage News Google Previews Java 7 Support for App Engine

Google Previews Java 7 Support for App Engine

Leia em Português


Google has included a preview of the forthcoming support for Java 7 in the October update to their Platform-as-a-Service App Engine. Currently it is limited to developer machines, and the vendor hasn't provide a timeframe for official support, simply stating:

In an upcoming release, we will be including some of the new Java 7 functionality, as well as formal Java 7 support within the App Engine Java runtime. Before this is available, we strongly encourage developers to start testing their applications using Java 7 and the latest App Engine Java SDK. 

Google's Java 7 support is a subset that excludes method handles, the InvokeDynamic bytecode instruction, and, at least at present, all the new Java 7 classes. It does though support the new language features from project Coin:

  • Strings in switch
  • Binary integral literals and underscores in number literals
  • Multi-catch and more precise rethrow
  • Improved type inference for generic instance creation (diamond)
  • try-with-resources statement
  • Simplified varargs method invocation

The vendor has also added experimental support to allow Java developers to set classloading priority for specific JAR files in order to resolve collisions between class names. These can be configured using the <class-loader-config> element of an XML document:
        <priority-specifier filename="mailapi.jar"/>

The order of the <priority-specifier> elements themselves is not used, so if multiple JAR files are prioritized, their original loading order is used.

Other Java-oriented PaaS vendors that already support Java 7 include CloudBees, Jelastic and VMware's Cloud Foundry.

We need your feedback

How might we improve InfoQ for you

Thank you for being an InfoQ reader.

Each year, we seek feedback from our readers to help us improve InfoQ. Would you mind spending 2 minutes to share your feedback in our short survey? Your feedback will directly help us continually evolve how we support you.

Take the Survey

Rate this Article


Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Community comments

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p


Is your profile up-to-date? Please take a moment to review and update.

Note: If updating/changing your email, a validation request will be sent

Company name:
Company role:
Company size:
You will be sent an email to validate the new email address. This pop-up will close itself in a few moments.