source: trunk/dports/java/jakarta-bcel/files/patch-Pass2Verifier.java.diff @ 21485

Last change on this file since 21485 was 21485, checked in by eridius@…, 13 years ago

Massive update to svn properties on files:
All patchfiles have svn:eol-style removed.
All files that are not in fact able to be executed have svn:executable removed
All binary files have svn:eol-style removed (and are probably corrupt)
All binary files have svn:mime-type set to application/octet-stream
All files which are not patchfiles or binary files have svn:eol-style set to native
All Portfiles have svn:eol-style set to native and svn:executable removed

File size: 2.2 KB
  • java/org/apache/bcel/verifier/statics/Pass2Verifier.java

    old new  
    345345
    346346                        for (int i=0; i<atts.length; i++){
    347347                                if ((! (atts[i] instanceof SourceFile)) &&
    348                                     (! (atts[i] instanceof Deprecated))     &&
     348                                    (! (atts[i] instanceof org.apache.bcel.classfile.Deprecated))     &&
    349349                                    (! (atts[i] instanceof InnerClasses)) &&
    350350                                    (! (atts[i] instanceof Synthetic))){
    351351                                        addMessage("Attribute '"+tostring(atts[i])+"' as an attribute of the ClassFile structure '"+tostring(obj)+"' is unknown and will therefore be ignored.");
     
    519519                        for (int i=0; i<atts.length; i++){
    520520                                if ((! (atts[i] instanceof ConstantValue)) &&
    521521                                    (! (atts[i] instanceof Synthetic))     &&
    522                                     (! (atts[i] instanceof Deprecated))){
     522                                    (! (atts[i] instanceof org.apache.bcel.classfile.Deprecated))){
    523523                                        addMessage("Attribute '"+tostring(atts[i])+"' as an attribute of Field '"+tostring(obj)+"' is unknown and will therefore be ignored.");
    524524                                }
    525525                                if  (! (atts[i] instanceof ConstantValue)){
     
    660660                                if ((! (atts[i] instanceof Code)) &&
    661661                                    (! (atts[i] instanceof ExceptionTable))     &&
    662662                                    (! (atts[i] instanceof Synthetic)) &&
    663                                     (! (atts[i] instanceof Deprecated))){
     663                                    (! (atts[i] instanceof org.apache.bcel.classfile.Deprecated))){
    664664                                        addMessage("Attribute '"+tostring(atts[i])+"' as an attribute of Method '"+tostring(obj)+"' is unknown and will therefore be ignored.");
    665665                                }
    666666                                if ((! (atts[i] instanceof Code)) &&
     
    702702                                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.");
    703703                        }
    704704                }
    705                 public void visitDeprecated(Deprecated obj){//vmspec2 4.7.10
     705                public void visitDeprecated(org.apache.bcel.classfile.Deprecated obj){//vmspec2 4.7.10
    706706                        checkIndex(obj, obj.getNameIndex(), CONST_Utf8);
    707707
    708708                        String name = ((ConstantUtf8) cp.getConstant(obj.getNameIndex())).getBytes();
Note: See TracBrowser for help on using the repository browser.