Here is a simple example of some code that compiles using Java 6, but does not compile in Java 7.
public class Test { private final
A workaround for this is to cast the generic instance to the concrete supertype that declares the private field, e.g.
public int get(TestContainer container){ T t = container.get(); return ((Test) t)._myVar; }