1.1 --- a/src/share/classes/com/sun/tools/javap/CodeWriter.java Wed Jan 05 09:59:01 2011 +0000 1.2 +++ b/src/share/classes/com/sun/tools/javap/CodeWriter.java Mon Jan 10 14:57:59 2011 -0800 1.3 @@ -1,5 +1,5 @@ 1.4 /* 1.5 - * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved. 1.6 + * Copyright (c) 2007, 2011, Oracle and/or its affiliates. All rights reserved. 1.7 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 1.8 * 1.9 * This code is free software; you can redistribute it and/or modify it 1.10 @@ -64,7 +64,6 @@ 1.11 stackMapWriter = StackMapWriter.instance(context); 1.12 localVariableTableWriter = LocalVariableTableWriter.instance(context); 1.13 localVariableTypeTableWriter = LocalVariableTypeTableWriter.instance(context); 1.14 - typeAnnotationWriter = TypeAnnotationWriter.instance(context); 1.15 options = Options.instance(context); 1.16 } 1.17 1.18 @@ -266,11 +265,6 @@ 1.19 detailWriters.add(tryBlockWriter); 1.20 } 1.21 1.22 - if (options.details.contains(InstructionDetailWriter.Kind.TYPE_ANNOS)) { 1.23 - typeAnnotationWriter.reset(attr); 1.24 - detailWriters.add(typeAnnotationWriter); 1.25 - } 1.26 - 1.27 return detailWriters; 1.28 } 1.29 1.30 @@ -279,7 +273,6 @@ 1.31 private ConstantWriter constantWriter; 1.32 private LocalVariableTableWriter localVariableTableWriter; 1.33 private LocalVariableTypeTableWriter localVariableTypeTableWriter; 1.34 - private TypeAnnotationWriter typeAnnotationWriter; 1.35 private SourceWriter sourceWriter; 1.36 private StackMapWriter stackMapWriter; 1.37 private TryBlockWriter tryBlockWriter;