View | Details | Raw Unified
Collapse All | Expand All

(-) src.orig/java/org/apache/bcel/verifier/statics/Pass2Verifier.java (-4 / +4 lines)
 Lines 345-351   public final class Pass2Verifier extends Link Here 
			for (int i=0; i<atts.length; i++){
			for (int i=0; i<atts.length; i++){
				if ((! (atts[i] instanceof SourceFile)) &&
				if ((! (atts[i] instanceof SourceFile)) &&
				    (! (atts[i] instanceof Deprecated))     &&
				    (! (atts[i] instanceof org.apache.bcel.classfile.Deprecated))     &&
				    (! (atts[i] instanceof InnerClasses)) &&
				    (! (atts[i] instanceof InnerClasses)) &&
				    (! (atts[i] instanceof Synthetic))){
				    (! (atts[i] instanceof Synthetic))){
					addMessage("Attribute '"+tostring(atts[i])+"' as an attribute of the ClassFile structure '"+tostring(obj)+"' is unknown and will therefore be ignored.");
					addMessage("Attribute '"+tostring(atts[i])+"' as an attribute of the ClassFile structure '"+tostring(obj)+"' is unknown and will therefore be ignored.");
 Lines 519-525   public final class Pass2Verifier extends Link Here 
			for (int i=0; i<atts.length; i++){
			for (int i=0; i<atts.length; i++){
				if ((! (atts[i] instanceof ConstantValue)) &&
				if ((! (atts[i] instanceof ConstantValue)) &&
				    (! (atts[i] instanceof Synthetic))     &&
				    (! (atts[i] instanceof Synthetic))     &&
				    (! (atts[i] instanceof Deprecated))){
				    (! (atts[i] instanceof org.apache.bcel.classfile.Deprecated))){
					addMessage("Attribute '"+tostring(atts[i])+"' as an attribute of Field '"+tostring(obj)+"' is unknown and will therefore be ignored.");
					addMessage("Attribute '"+tostring(atts[i])+"' as an attribute of Field '"+tostring(obj)+"' is unknown and will therefore be ignored.");
				}
				}
				if  (! (atts[i] instanceof ConstantValue)){
				if  (! (atts[i] instanceof ConstantValue)){
 Lines 660-666   public final class Pass2Verifier extends Link Here 
				if ((! (atts[i] instanceof Code)) &&
				if ((! (atts[i] instanceof Code)) &&
				    (! (atts[i] instanceof ExceptionTable))     &&
				    (! (atts[i] instanceof ExceptionTable))     &&
				    (! (atts[i] instanceof Synthetic)) &&
				    (! (atts[i] instanceof Synthetic)) &&
				    (! (atts[i] instanceof Deprecated))){
				    (! (atts[i] instanceof org.apache.bcel.classfile.Deprecated))){
					addMessage("Attribute '"+tostring(atts[i])+"' as an attribute of Method '"+tostring(obj)+"' is unknown and will therefore be ignored.");
					addMessage("Attribute '"+tostring(atts[i])+"' as an attribute of Method '"+tostring(obj)+"' is unknown and will therefore be ignored.");
				}
				}
				if ((! (atts[i] instanceof Code)) &&
				if ((! (atts[i] instanceof Code)) &&
 Lines 702-708   public final class Pass2Verifier extends Link Here 
				addMessage("SourceFile attribute '"+tostring(obj)+"' has a funny name: remember not to confuse certain parsers working on javap's output. Also, this name ('"+sourcefilename+"') is considered an unqualified (simple) file name only.");
				addMessage("SourceFile attribute '"+tostring(obj)+"' has a funny name: remember not to confuse certain parsers working on javap's output. Also, this name ('"+sourcefilename+"') is considered an unqualified (simple) file name only.");
			}
			}
		}
		}
		public void visitDeprecated(Deprecated obj){//vmspec2 4.7.10
		public void visitDeprecated(org.apache.bcel.classfile.Deprecated obj){//vmspec2 4.7.10
			checkIndex(obj, obj.getNameIndex(), CONST_Utf8);
			checkIndex(obj, obj.getNameIndex(), CONST_Utf8);
			String name = ((ConstantUtf8) cp.getConstant(obj.getNameIndex())).getBytes();
			String name = ((ConstantUtf8) cp.getConstant(obj.getNameIndex())).getBytes();
(-) src.orig/java/org/apache/bcel/verifier/statics/StringRepresentation.java (-1 / +1 lines)
 Lines 172-178   public class StringRepresentation extend Link Here 
	public void visitConstantValue(ConstantValue obj){
	public void visitConstantValue(ConstantValue obj){
		tostring = toString(obj);
		tostring = toString(obj);
	}
	}
	public void visitDeprecated(Deprecated obj){
	public void visitDeprecated(org.apache.bcel.classfile.Deprecated obj){
		tostring = toString(obj);
		tostring = toString(obj);
	}
	}
	public void visitExceptionTable(ExceptionTable obj){
	public void visitExceptionTable(ExceptionTable obj){