--- old/src/share/classes/javax/lang/model/type/MirroredTypeException.java 2010-06-03 19:55:38.000000000 -0700 +++ new/src/share/classes/javax/lang/model/type/MirroredTypeException.java 2010-06-03 19:55:38.000000000 -0700 @@ -42,7 +42,7 @@ * @see Element#getAnnotation(Class) * @since 1.6 */ -public class MirroredTypeException extends RuntimeException { +public class MirroredTypeException extends MirroredTypesException { private static final long serialVersionUID = 269; @@ -54,7 +54,7 @@ * @param type the type being accessed */ public MirroredTypeException(TypeMirror type) { - super("Attempt to access Class object for TypeMirror " + type.toString()); + super("Attempt to access Class object for TypeMirror " + type.toString(), type); this.type = type; } @@ -76,5 +76,6 @@ throws IOException, ClassNotFoundException { s.defaultReadObject(); type = null; + types = null; } }