src/share/classes/com/sun/tools/javac/model/AnnotationProxyMaker.java

changeset 1960
e811fb09a1dc
parent 1645
97f6839673d6
child 2525
2eb010b6cb22
equal deleted inserted replaced
1959:55da6b3a6940 1960:e811fb09a1dc
242 value = null; // indicates a type mismatch 242 value = null; // indicates a type mismatch
243 } 243 }
244 } 244 }
245 245
246 public void visitError(Attribute.Error e) { 246 public void visitError(Attribute.Error e) {
247 value = null; // indicates a type mismatch 247 if (e instanceof Attribute.UnresolvedClass)
248 value = new MirroredTypeExceptionProxy(((Attribute.UnresolvedClass)e).classType);
249 else
250 value = null; // indicates a type mismatch
248 } 251 }
249 252
250 253
251 /** 254 /**
252 * Sets "value" to an ExceptionProxy indicating a type mismatch. 255 * Sets "value" to an ExceptionProxy indicating a type mismatch.

mercurial