Skip to content

Instantly share code, notes, and snippets.

@tomwhoiscontrary
Created April 23, 2014 10:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tomwhoiscontrary/11210657 to your computer and use it in GitHub Desktop.
Save tomwhoiscontrary/11210657 to your computer and use it in GitHub Desktop.
Fails to compile under javac 1.6.0_26
package com.youdevise;
import com.youdevise.Firmament.Air.Earth;
import java.io.Serializable;
public class Firmament {
public static class Air implements Serializable {
public static class Earth {}
}
public final Earth terra = new Earth(); // this field is purely decorative
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment