src/share/classes/com/sun/tools/javac/jvm/ClassReader.java

Print this page

        

@@ -1671,12 +1671,10 @@
         // We don't need to worry about these
         case METHOD_RETURN:
             return TypeAnnotationPosition.methodReturn(readTypePath());
         case FIELD:
             return TypeAnnotationPosition.field(readTypePath());
-        case UNKNOWN:
-            throw new AssertionError("jvm.ClassReader: UNKNOWN target type should never occur!");
         default:
             throw new AssertionError("jvm.ClassReader: Unknown target type for position: " + type);
         }
     }