Skip to content

FindBugs bugs report #3

@pfirmstone

Description

@pfirmstone

  |
  |
  |
  |
  | <title>PACK200 – FindBugs Bug Detector Report</title>
  | <style type="text/css" media="all">
  | @import url("./css/maven-base.css");
  | @import url("./css/maven-theme.css");
  | @import url("./css/site.css");
  | </style>
  |
  |
  |  
  |
  |
  |


  |

  | PACK200
  |

  |

  |

  |

  |

  |

  |  
  |

  | Last Published: 2018-06-16
  |  | Version: 1.0.0
  |

  |
PACK200
  |  
  |

  |

  |

  |

  |

  |

  |

  |  
  |
Project Documentation

  |
  |
  | Built by Maven
  |

  |  
  |

  |

  |

  |

  |

  |

FindBugs Bug Detector Report


  |

The following document contains the results of FindBugs


  |

FindBugs Version is 3.0.1


  |

Threshold is medium


  |

Effort is min


  |

  |

Summary


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
ClassesBugsErrorsMissing Classes
18916200

  |

  |

Files


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
ClassBugs
org.apache.harmony.pack200.AttributeDefinitionBands2
org.apache.harmony.pack200.BHSDCodec1
org.apache.harmony.pack200.BandSet3
org.apache.harmony.pack200.BandSet$BandAnalysisResults1
org.apache.harmony.pack200.BandSet$BandData2
org.apache.harmony.pack200.BcBands5
org.apache.harmony.pack200.CPClass1
org.apache.harmony.pack200.CPDouble1
org.apache.harmony.pack200.CPFloat1
org.apache.harmony.pack200.CPInt1
org.apache.harmony.pack200.CPLong1
org.apache.harmony.pack200.CPMethodOrField1
org.apache.harmony.pack200.CPNameAndType1
org.apache.harmony.pack200.CPSignature1
org.apache.harmony.pack200.CPString1
org.apache.harmony.pack200.CPUTF81
org.apache.harmony.pack200.ClassBands19
org.apache.harmony.pack200.CodecEncoding3
org.apache.harmony.pack200.CpBands3
org.apache.harmony.pack200.IcBands$IcTuple2
org.apache.harmony.pack200.NewAttribute1
org.apache.harmony.pack200.NewAttributeBands1
org.apache.harmony.pack200.NewAttributeBands$Integral3
org.apache.harmony.pack200.NewAttributeBands$LayoutElement1
org.apache.harmony.pack200.NewAttributeBands$Reference2
org.apache.harmony.pack200.NewAttributeBands$UnionCase1
org.apache.harmony.pack200.PackingOptions2
org.apache.harmony.pack200.PopulationCodec1
org.apache.harmony.pack200.Segment$ArrayVisitor3
org.apache.harmony.pack200.Segment$SegmentAnnotationVisitor2
org.apache.harmony.pack200.Segment$SegmentAnnotationVisitor$AnnotationVisitorImpl2
org.apache.harmony.pack200.SegmentHeader2
org.apache.harmony.pack200.SegmentHeader$Counter1
org.apache.harmony.unpack200.AttributeLayoutMap2
org.apache.harmony.unpack200.BcBands5
org.apache.harmony.unpack200.ClassBands2
org.apache.harmony.unpack200.CpBands7
org.apache.harmony.unpack200.IcBands1
org.apache.harmony.unpack200.IcBands$11
org.apache.harmony.unpack200.NewAttributeBands1
org.apache.harmony.unpack200.NewAttributeBands$LayoutElement1
org.apache.harmony.unpack200.NewAttributeBands$UnionCase1
org.apache.harmony.unpack200.Segment2
org.apache.harmony.unpack200.SegmentConstantPoolArrayCache$CachedArray3
org.apache.harmony.unpack200.SegmentHeader2
org.apache.harmony.unpack200.bytecode.AnnotationsAttribute$Annotation2
org.apache.harmony.unpack200.bytecode.ByteCode8
org.apache.harmony.unpack200.bytecode.CPMethod1
org.apache.harmony.unpack200.bytecode.ClassConstantPool1
org.apache.harmony.unpack200.bytecode.ClassFile1
org.apache.harmony.unpack200.bytecode.CodeAttribute1
org.apache.harmony.unpack200.bytecode.ExceptionsAttribute1
org.apache.harmony.unpack200.bytecode.LineNumberTableAttribute2
org.apache.harmony.unpack200.bytecode.LocalVariableTableAttribute5
org.apache.harmony.unpack200.bytecode.LocalVariableTypeTableAttribute5
org.apache.harmony.unpack200.bytecode.NewAttribute6
org.apache.harmony.unpack200.bytecode.OperandManager21
org.apache.harmony.unpack200.bytecode.RuntimeVisibleorInvisibleAnnotationsAttribute1
org.apache.harmony.unpack200.bytecode.RuntimeVisibleorInvisibleParameterAnnotationsAttribute1
org.apache.harmony.unpack200.bytecode.RuntimeVisibleorInvisibleParameterAnnotationsAttribute$ParameterAnnotation1
org.apache.harmony.unpack200.bytecode.forms.ByteCodeForm4

  |

  |

org.apache.harmony.pack200.AttributeDefinitionBands


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
Switch statement found in org.apache.harmony.pack200.AttributeDefinitionBands.addAttributeDefinitions(Map, int[], int) where default case is missingSTYLESF_SWITCH_NO_DEFAULT212Medium
org.apache.harmony.pack200.AttributeDefinitionBands.addAttributeDefinitions(Map, int[], int) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR206Medium

  |

  |

org.apache.harmony.pack200.BHSDCodec


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.pack200.BHSDCodec.encode(int, int) invokes inefficient new Byte(byte) constructor; use Byte.valueOf(byte) insteadPERFORMANCEDM_NUMBER_CTOR367Medium

  |

  |

org.apache.harmony.pack200.BandSet


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.pack200.BandSet.encodeWithPopulationCodec(String, int[], BHSDCodec, BandSet$BandData, BandSet$BandAnalysisResults) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR388Medium
Switch statement found in org.apache.harmony.pack200.BandSet.encodeWithPopulationCodec(String, int[], BHSDCodec, BandSet$BandData, BandSet$BandAnalysisResults) where default case is missingSTYLESF_SWITCH_NO_DEFAULT438Medium
org.apache.harmony.pack200.BandSet.encodeWithPopulationCodec(String, int[], BHSDCodec, BandSet$BandData, BandSet$BandAnalysisResults) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR369Medium

  |

  |

org.apache.harmony.pack200.BandSet$BandAnalysisResults


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
Should org.apache.harmony.pack200.BandSet$BandAnalysisResults be a static inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC769Medium

  |

  |

org.apache.harmony.pack200.BandSet$BandData


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
new org.apache.harmony.pack200.BandSet$BandData(BandSet, int[]) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR677Medium
new org.apache.harmony.pack200.BandSet$BandData(BandSet, int[]) may expose internal representation by storing an externally mutable object into BandSet$BandData.bandMALICIOUS_CODEEI_EXPOSE_REP2676Medium

  |

  |

org.apache.harmony.pack200.BcBands


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.pack200.BcBands.getIndexInClassForConstructor(List) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR255Medium
org.apache.harmony.pack200.BcBands.visitEnd() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR279Medium
org.apache.harmony.pack200.BcBands.visitLabel(Label) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR293Medium
Switch statement found in org.apache.harmony.pack200.BcBands.visitIntInsn(int, int) where default case is missingSTYLESF_SWITCH_NO_DEFAULT368Medium
Switch statement found in org.apache.harmony.pack200.BcBands.visitVarInsn(int, int) where default case is missingSTYLESF_SWITCH_NO_DEFAULT566Medium

  |

  |

org.apache.harmony.pack200.CPClass


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.pack200.CPClass defines compareTo(Object) and uses Object.equals()BAD_PRACTICEEQ_COMPARETO_USE_OBJECT_EQUALS42Medium

  |

  |

org.apache.harmony.pack200.CPDouble


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.pack200.CPDouble defines compareTo(Object) and uses Object.equals()BAD_PRACTICEEQ_COMPARETO_USE_OBJECT_EQUALS31Medium

  |

  |

org.apache.harmony.pack200.CPFloat


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.pack200.CPFloat defines compareTo(Object) and uses Object.equals()BAD_PRACTICEEQ_COMPARETO_USE_OBJECT_EQUALS31Medium

  |

  |

org.apache.harmony.pack200.CPInt


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.pack200.CPInt defines compareTo(Object) and uses Object.equals()BAD_PRACTICEEQ_COMPARETO_USE_OBJECT_EQUALS31Medium

  |

  |

org.apache.harmony.pack200.CPLong


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.pack200.CPLong defines compareTo(Object) and uses Object.equals()BAD_PRACTICEEQ_COMPARETO_USE_OBJECT_EQUALS31Medium

  |

  |

org.apache.harmony.pack200.CPMethodOrField


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.pack200.CPMethodOrField defines compareTo(Object) and uses Object.equals()BAD_PRACTICEEQ_COMPARETO_USE_OBJECT_EQUALS39Medium

  |

  |

org.apache.harmony.pack200.CPNameAndType


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.pack200.CPNameAndType defines compareTo(Object) and uses Object.equals()BAD_PRACTICEEQ_COMPARETO_USE_OBJECT_EQUALS37Medium

  |

  |

org.apache.harmony.pack200.CPSignature


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.pack200.CPSignature defines compareTo(Object) and uses Object.equals()BAD_PRACTICEEQ_COMPARETO_USE_OBJECT_EQUALS39Medium

  |

  |

org.apache.harmony.pack200.CPString


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.pack200.CPString defines compareTo(Object) and uses Object.equals()BAD_PRACTICEEQ_COMPARETO_USE_OBJECT_EQUALS33Medium

  |

  |

org.apache.harmony.pack200.CPUTF8


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.pack200.CPUTF8 defines compareTo(Object) and uses Object.equals()BAD_PRACTICEEQ_COMPARETO_USE_OBJECT_EQUALS31Medium

  |

  |

org.apache.harmony.pack200.ClassBands


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
Dead store to flags in org.apache.harmony.pack200.ClassBands.addClass(int, int, String, String, String, String[])STYLEDLS_DEAD_LOCAL_STORE219High
org.apache.harmony.pack200.ClassBands.addAnnotation(int, String, boolean, List, List, List, List, List, List, List) invokes inefficient new Long(long) constructor; use Long.valueOf(long) insteadPERFORMANCEDM_NUMBER_CTOR1437Medium
org.apache.harmony.pack200.ClassBands.addAnnotationDefault(List, List, List, List, List, List, List) invokes inefficient new Long(long) constructor; use Long.valueOf(long) insteadPERFORMANCEDM_NUMBER_CTOR1476Medium
org.apache.harmony.pack200.ClassBands.addCode() invokes inefficient new Long(long) constructor; use Long.valueOf(long) insteadPERFORMANCEDM_NUMBER_CTOR1201Medium
org.apache.harmony.pack200.ClassBands.addCodeAttribute(NewAttribute) invokes inefficient new Long(long) constructor; use Long.valueOf(long) insteadPERFORMANCEDM_NUMBER_CTOR1178Medium
org.apache.harmony.pack200.ClassBands.addField(int, String, String, String, Object) invokes inefficient new Long(long) constructor; use Long.valueOf(long) insteadPERFORMANCEDM_NUMBER_CTOR277Medium
org.apache.harmony.pack200.ClassBands.addFieldAttribute(NewAttribute) invokes inefficient new Long(long) constructor; use Long.valueOf(long) insteadPERFORMANCEDM_NUMBER_CTOR1148Medium
org.apache.harmony.pack200.ClassBands.addLineNumber(int, Label) invokes inefficient new Long(long) constructor; use Long.valueOf(long) insteadPERFORMANCEDM_NUMBER_CTOR1220Medium
org.apache.harmony.pack200.ClassBands.addLocalVariable(String, String, String, Label, Label, int) invokes inefficient new Long(long) constructor; use Long.valueOf(long) insteadPERFORMANCEDM_NUMBER_CTOR1236Medium
org.apache.harmony.pack200.ClassBands.addMaxStack(int, int) invokes inefficient new Long(long) constructor; use Long.valueOf(long) insteadPERFORMANCEDM_NUMBER_CTOR1188Medium
org.apache.harmony.pack200.ClassBands.addMethod(int, String, String, String, String[]) invokes inefficient new Long(long) constructor; use Long.valueOf(long) insteadPERFORMANCEDM_NUMBER_CTOR1001Medium
org.apache.harmony.pack200.ClassBands.addMethodAttribute(NewAttribute) invokes inefficient new Long(long) constructor; use Long.valueOf(long) insteadPERFORMANCEDM_NUMBER_CTOR1163Medium
org.apache.harmony.pack200.ClassBands.addParameterAnnotation(int, String, boolean, List, List, List, List, List, List, List) invokes inefficient new Long(long) constructor; use Long.valueOf(long) insteadPERFORMANCEDM_NUMBER_CTOR1361Medium
org.apache.harmony.pack200.ClassBands.endOfMethod() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR1034Medium
org.apache.harmony.pack200.ClassBands.finaliseBands() invokes inefficient new Long(long) constructor; use Long.valueOf(long) insteadPERFORMANCEDM_NUMBER_CTOR326Medium
org.apache.harmony.pack200.ClassBands.renumberBci(List, IntList, Map) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR1301Medium
org.apache.harmony.pack200.ClassBands.renumberDoubleOffsetBci(List, List, List, IntList, Map) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR1335Medium
org.apache.harmony.pack200.ClassBands.renumberOffsetBci(List, List, IntList, Map) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR1317Medium
Switch statement found in org.apache.harmony.pack200.ClassBands.addAnnotation(int, String, boolean, List, List, List, List, List, List, List) where default case is missingSTYLESF_SWITCH_NO_DEFAULT1408Medium

  |

  |

org.apache.harmony.pack200.CodecEncoding


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.pack200.CodecEncoding.getSpecifier(Codec, Codec) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR231Medium
Useless condition: it's known that value >= 117 ('u') at this pointSTYLEUC_USELESS_CONDITION158Medium
Useless condition: it's known that value >= 141 (0x8d) at this pointSTYLEUC_USELESS_CONDITION184Medium

  |

  |

org.apache.harmony.pack200.CpBands


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.pack200.CpBands.addCharacters(List, char[]) invokes inefficient new Character(char) constructor; use Character.valueOf(char) insteadPERFORMANCEDM_NUMBER_CTOR189Medium
org.apache.harmony.pack200.CpBands.addIndices() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR440Medium
org.apache.harmony.pack200.CpBands.writeCpUtf8(OutputStream) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR134Medium

  |

  |

org.apache.harmony.pack200.IcBands$IcTuple


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.pack200.IcBands$IcTuple defines equals and uses Object.hashCode()BAD_PRACTICEHE_EQUALS_USE_HASHCODE166Medium
Should org.apache.harmony.pack200.IcBands$IcTuple be a static inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC158Medium

  |

  |

org.apache.harmony.pack200.NewAttribute


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
Switch statement found in org.apache.harmony.pack200.NewAttribute.addContext(int) where default case is missingSTYLESF_SWITCH_NO_DEFAULT60Medium

  |

  |

org.apache.harmony.pack200.NewAttributeBands


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.pack200.NewAttributeBands.readNumber(StringReader) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR932Medium

  |

  |

org.apache.harmony.pack200.NewAttributeBands$Integral


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.pack200.NewAttributeBands$Integral.addAttributeToBand(NewAttribute, InputStream) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR423Medium
org.apache.harmony.pack200.NewAttributeBands$Integral.renumberBci(IntList, Map) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR453Medium
org.apache.harmony.pack200.NewAttributeBands$Integral.renumberOffsetBci(List, IntList, Map) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR471Medium

  |

  |

org.apache.harmony.pack200.NewAttributeBands$LayoutElement


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
Switch statement found in org.apache.harmony.pack200.NewAttributeBands$LayoutElement.getLength(char) where default case is missingSTYLESF_SWITCH_NO_DEFAULT339Medium

  |

  |

org.apache.harmony.pack200.NewAttributeBands$Reference


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
Read of unwritten field band in org.apache.harmony.pack200.NewAttributeBands$Reference.addAttributeToBand(NewAttribute, InputStream)CORRECTNESSNP_UNWRITTEN_FIELD671Medium
Unwritten field: org.apache.harmony.pack200.NewAttributeBands$Reference.bandCORRECTNESSUWF_UNWRITTEN_FIELD671Medium

  |

  |

org.apache.harmony.pack200.NewAttributeBands$UnionCase


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.pack200.NewAttributeBands$UnionCase.hasTag(long) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR778Medium

  |

  |

org.apache.harmony.pack200.PackingOptions


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.pack200.PackingOptions.getUnknownAttributePrototypes() may expose internal representation by returning PackingOptions.unknownAttributeTypesMALICIOUS_CODEEI_EXPOSE_REP318Medium
org.apache.harmony.pack200.PackingOptions.addOrUpdateAttributeActions(List, Map, int) makes inefficient use of keySet iterator instead of entrySet iteratorPERFORMANCEWMI_WRONG_MAP_ITERATOR270Medium

  |

  |

org.apache.harmony.pack200.PopulationCodec


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.pack200.PopulationCodec.getFavoured() may expose internal representation by returning PopulationCodec.favouredMALICIOUS_CODEEI_EXPOSE_REP132Medium

  |

  |

org.apache.harmony.pack200.Segment$ArrayVisitor


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.pack200.Segment$ArrayVisitor.visit(String, Object) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR633Medium
org.apache.harmony.pack200.Segment$ArrayVisitor.visitArray(String) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR653Medium
org.apache.harmony.pack200.Segment$ArrayVisitor.visitEnum(String, String, String) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR664Medium

  |

  |

org.apache.harmony.pack200.Segment$SegmentAnnotationVisitor


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.pack200.Segment$SegmentAnnotationVisitor.visitAnnotation(String, String) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR527Medium
org.apache.harmony.pack200.Segment$SegmentAnnotationVisitor.visitArray(String) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR538Medium

  |

  |

org.apache.harmony.pack200.Segment$SegmentAnnotationVisitor$AnnotationVisitorImpl


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.pack200.Segment$SegmentAnnotationVisitor$AnnotationVisitorImpl.visit(String, Object) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR579Medium
org.apache.harmony.pack200.Segment$SegmentAnnotationVisitor$AnnotationVisitorImpl.visitEnum(String, String, String) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR604Medium

  |

  |

org.apache.harmony.pack200.SegmentHeader


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
Unread field: org.apache.harmony.pack200.SegmentHeader.have_file_modtime; should this field be static?PERFORMANCESS_SHOULD_BE_STATIC67Medium
Unread field: org.apache.harmony.pack200.SegmentHeader.have_file_options; should this field be static?PERFORMANCESS_SHOULD_BE_STATIC68Medium

  |

  |

org.apache.harmony.pack200.SegmentHeader$Counter


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
Should org.apache.harmony.pack200.SegmentHeader$Counter be a static inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC300Medium

  |

  |

org.apache.harmony.unpack200.AttributeLayoutMap


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.unpack200.AttributeLayoutMap.add(AttributeLayout) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR219Medium
org.apache.harmony.unpack200.AttributeLayoutMap.getAttributeLayout(int, int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR242Medium

  |

  |

org.apache.harmony.unpack200.BcBands


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.unpack200.BcBands.read(InputStream) invokes inefficient Boolean constructor; use Boolean.valueOf(...) insteadPERFORMANCEDM_BOOLEAN_CTOR194Medium
org.apache.harmony.unpack200.BcBands.read(InputStream) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR259Medium
Unread field: org.apache.harmony.unpack200.BcBands.bcEscBytePERFORMANCEURF_UNREAD_FIELD357Medium
Unread field: org.apache.harmony.unpack200.BcBands.bcEscRefPERFORMANCEURF_UNREAD_FIELD352Medium
Unread field: org.apache.harmony.unpack200.BcBands.bcEscRefSizePERFORMANCEURF_UNREAD_FIELD354Medium

  |

  |

org.apache.harmony.unpack200.ClassBands


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
Bad comparison of nonnegative value with 0 in org.apache.harmony.unpack200.ClassBands.parseCodeBands(InputStream)CORRECTNESSINT_BAD_COMPARISON_WITH_NONNEGATIVE_VALUE762Medium
Switch statement found in org.apache.harmony.unpack200.ClassBands.parseMetadata(InputStream, String[], int[], int[], String) where default case is missingSTYLESF_SWITCH_NO_DEFAULT1048Medium

  |

  |

org.apache.harmony.unpack200.CpBands


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.unpack200.CpBands.cpIntegerValue(int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR575Medium
org.apache.harmony.unpack200.CpBands.cpLongValue(int) invokes inefficient new Long(long) constructor; use Long.valueOf(long) insteadPERFORMANCEDM_NUMBER_CTOR565Medium
org.apache.harmony.unpack200.CpBands.parseCpClass(InputStream) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR160Medium
org.apache.harmony.unpack200.CpBands.parseCpDescriptor(InputStream) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR194Medium
org.apache.harmony.unpack200.CpBands.parseCpSignature(InputStream) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR375Medium
org.apache.harmony.unpack200.CpBands.parseCpUtf8(InputStream) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR413Medium
Useless object stored in variable list of method org.apache.harmony.unpack200.CpBands.parseCpSignature(InputStream)STYLEUC_USELESS_OBJECT363Medium

  |

  |

org.apache.harmony.unpack200.IcBands


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.unpack200.IcBands.getIcTuples() may expose internal representation by returning IcBands.icAllMALICIOUS_CODEEI_EXPOSE_REP153Medium

  |

  |

org.apache.harmony.unpack200.IcBands$1


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.unpack200.IcBands$1.compare(Object, Object) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR234Medium

  |

  |

org.apache.harmony.unpack200.NewAttributeBands


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.unpack200.NewAttributeBands.readNumber(StringReader) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR998Medium

  |

  |

org.apache.harmony.unpack200.NewAttributeBands$LayoutElement


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
Switch statement found in org.apache.harmony.unpack200.NewAttributeBands$LayoutElement.getLength(char) where default case is missingSTYLESF_SWITCH_NO_DEFAULT374Medium

  |

  |

org.apache.harmony.unpack200.NewAttributeBands$UnionCase


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.unpack200.NewAttributeBands$UnionCase.hasTag(long) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR861Medium

  |

  |

org.apache.harmony.unpack200.Segment


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
Found reliance on default encoding in org.apache.harmony.unpack200.Segment.setLogStream(OutputStream): new java.io.PrintWriter(OutputStream)I18NDM_DEFAULT_ENCODING619High
org.apache.harmony.unpack200.Segment.unpackRead(InputStream) ignores result of java.io.InputStream.read(byte[])BAD_PRACTICERR_NOT_CHECKED497Medium

  |

  |

org.apache.harmony.unpack200.SegmentConstantPoolArrayCache$CachedArray


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.unpack200.SegmentConstantPoolArrayCache$CachedArray.cacheIndexes() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR178Medium
new org.apache.harmony.unpack200.SegmentConstantPoolArrayCache$CachedArray(SegmentConstantPoolArrayCache, String[]) may expose internal representation by storing an externally mutable object into SegmentConstantPoolArrayCache$CachedArray.primaryArrayMALICIOUS_CODEEI_EXPOSE_REP2126Medium
Should org.apache.harmony.unpack200.SegmentConstantPoolArrayCache$CachedArray be a static inner class?PERFORMANCESIC_INNER_SHOULD_BE_STATIC124Medium

  |

  |

org.apache.harmony.unpack200.SegmentHeader


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
Unread field: org.apache.harmony.unpack200.SegmentHeader.archiveMajorPERFORMANCEURF_UNREAD_FIELD161Medium
Unread field: org.apache.harmony.unpack200.SegmentHeader.archiveMinorPERFORMANCEURF_UNREAD_FIELD146Medium

  |

  |

org.apache.harmony.unpack200.bytecode.AnnotationsAttribute$Annotation


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
new org.apache.harmony.unpack200.bytecode.AnnotationsAttribute$Annotation(int, CPUTF8, CPUTF8[], AnnotationsAttribute$ElementValue[]) may expose internal representation by storing an externally mutable object into AnnotationsAttribute$Annotation.element_namesMALICIOUS_CODEEI_EXPOSE_REP247Medium
new org.apache.harmony.unpack200.bytecode.AnnotationsAttribute$Annotation(int, CPUTF8, CPUTF8[], AnnotationsAttribute$ElementValue[]) may expose internal representation by storing an externally mutable object into AnnotationsAttribute$Annotation.element_valuesMALICIOUS_CODEEI_EXPOSE_REP248Medium

  |

  |

org.apache.harmony.unpack200.bytecode.ByteCode


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.unpack200.bytecode.ByteCode.getByteCodeTargets() may expose internal representation by returning ByteCode.byteCodeTargetsMALICIOUS_CODEEI_EXPOSE_REP325Medium
org.apache.harmony.unpack200.bytecode.ByteCode.getNestedClassFileEntries() may expose internal representation by returning ByteCode.nestedMALICIOUS_CODEEI_EXPOSE_REP96Medium
org.apache.harmony.unpack200.bytecode.ByteCode.getNestedPositions() may expose internal representation by returning ByteCode.nestedPositionsMALICIOUS_CODEEI_EXPOSE_REP272Medium
org.apache.harmony.unpack200.bytecode.ByteCode.getRewrite() may expose internal representation by returning ByteCode.rewriteMALICIOUS_CODEEI_EXPOSE_REP364Medium
org.apache.harmony.unpack200.bytecode.ByteCode.setByteCodeTargets(int[]) may expose internal representation by storing an externally mutable object into ByteCode.byteCodeTargetsMALICIOUS_CODEEI_EXPOSE_REP2321Medium
org.apache.harmony.unpack200.bytecode.ByteCode.setNested(ClassFileEntry[]) may expose internal representation by storing an externally mutable object into ByteCode.nestedMALICIOUS_CODEEI_EXPOSE_REP2250Medium
org.apache.harmony.unpack200.bytecode.ByteCode.setNestedPositions(int[][]) may expose internal representation by storing an externally mutable object into ByteCode.nestedPositionsMALICIOUS_CODEEI_EXPOSE_REP2268Medium
org.apache.harmony.unpack200.bytecode.ByteCode.setRewrite(int[]) may expose internal representation by storing an externally mutable object into ByteCode.rewriteMALICIOUS_CODEEI_EXPOSE_REP2352Medium

  |

  |

org.apache.harmony.unpack200.bytecode.CPMethod


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.unpack200.bytecode.CPMethod doesn't override CPMember.equals(Object)STYLEEQ_DOESNT_OVERRIDE_EQUALS1Medium

  |

  |

org.apache.harmony.unpack200.bytecode.ClassConstantPool


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.unpack200.bytecode.ClassConstantPool.sortClassPool() invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR235Medium

  |

  |

org.apache.harmony.unpack200.bytecode.ClassFile


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
Unread field: org.apache.harmony.unpack200.bytecode.ClassFile.magic; should this field be static?PERFORMANCESS_SHOULD_BE_STATIC29Medium

  |

  |

org.apache.harmony.unpack200.bytecode.CodeAttribute


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
new org.apache.harmony.unpack200.bytecode.CodeAttribute(int, int, byte[], Segment, OperandManager, List) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR45Medium

  |

  |

org.apache.harmony.unpack200.bytecode.ExceptionsAttribute


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
new org.apache.harmony.unpack200.bytecode.ExceptionsAttribute(CPClass[]) may expose internal representation by storing an externally mutable object into ExceptionsAttribute.exceptionsMALICIOUS_CODEEI_EXPOSE_REP248Medium

  |

  |

org.apache.harmony.unpack200.bytecode.LineNumberTableAttribute


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
new org.apache.harmony.unpack200.bytecode.LineNumberTableAttribute(int, int[], int[]) may expose internal representation by storing an externally mutable object into LineNumberTableAttribute.line_numbersMALICIOUS_CODEEI_EXPOSE_REP241Medium
new org.apache.harmony.unpack200.bytecode.LineNumberTableAttribute(int, int[], int[]) may expose internal representation by storing an externally mutable object into LineNumberTableAttribute.start_pcsMALICIOUS_CODEEI_EXPOSE_REP240Medium

  |

  |

org.apache.harmony.unpack200.bytecode.LocalVariableTableAttribute


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
new org.apache.harmony.unpack200.bytecode.LocalVariableTableAttribute(int, int[], int[], CPUTF8[], CPUTF8[], int[]) may expose internal representation by storing an externally mutable object into LocalVariableTableAttribute.descriptorsMALICIOUS_CODEEI_EXPOSE_REP254Medium
new org.apache.harmony.unpack200.bytecode.LocalVariableTableAttribute(int, int[], int[], CPUTF8[], CPUTF8[], int[]) may expose internal representation by storing an externally mutable object into LocalVariableTableAttribute.indexesMALICIOUS_CODEEI_EXPOSE_REP255Medium
new org.apache.harmony.unpack200.bytecode.LocalVariableTableAttribute(int, int[], int[], CPUTF8[], CPUTF8[], int[]) may expose internal representation by storing an externally mutable object into LocalVariableTableAttribute.lengthsMALICIOUS_CODEEI_EXPOSE_REP252Medium
new org.apache.harmony.unpack200.bytecode.LocalVariableTableAttribute(int, int[], int[], CPUTF8[], CPUTF8[], int[]) may expose internal representation by storing an externally mutable object into LocalVariableTableAttribute.namesMALICIOUS_CODEEI_EXPOSE_REP253Medium
new org.apache.harmony.unpack200.bytecode.LocalVariableTableAttribute(int, int[], int[], CPUTF8[], CPUTF8[], int[]) may expose internal representation by storing an externally mutable object into LocalVariableTableAttribute.start_pcsMALICIOUS_CODEEI_EXPOSE_REP251Medium

  |

  |

org.apache.harmony.unpack200.bytecode.LocalVariableTypeTableAttribute


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
new org.apache.harmony.unpack200.bytecode.LocalVariableTypeTableAttribute(int, int[], int[], CPUTF8[], CPUTF8[], int[]) may expose internal representation by storing an externally mutable object into LocalVariableTypeTableAttribute.indexesMALICIOUS_CODEEI_EXPOSE_REP255Medium
new org.apache.harmony.unpack200.bytecode.LocalVariableTypeTableAttribute(int, int[], int[], CPUTF8[], CPUTF8[], int[]) may expose internal representation by storing an externally mutable object into LocalVariableTypeTableAttribute.lengthsMALICIOUS_CODEEI_EXPOSE_REP252Medium
new org.apache.harmony.unpack200.bytecode.LocalVariableTypeTableAttribute(int, int[], int[], CPUTF8[], CPUTF8[], int[]) may expose internal representation by storing an externally mutable object into LocalVariableTypeTableAttribute.namesMALICIOUS_CODEEI_EXPOSE_REP253Medium
new org.apache.harmony.unpack200.bytecode.LocalVariableTypeTableAttribute(int, int[], int[], CPUTF8[], CPUTF8[], int[]) may expose internal representation by storing an externally mutable object into LocalVariableTypeTableAttribute.signaturesMALICIOUS_CODEEI_EXPOSE_REP254Medium
new org.apache.harmony.unpack200.bytecode.LocalVariableTypeTableAttribute(int, int[], int[], CPUTF8[], CPUTF8[], int[]) may expose internal representation by storing an externally mutable object into LocalVariableTypeTableAttribute.start_pcsMALICIOUS_CODEEI_EXPOSE_REP251Medium

  |

  |

org.apache.harmony.unpack200.bytecode.NewAttribute


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.unpack200.bytecode.NewAttribute.addBCIndex(int, int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR107Medium
org.apache.harmony.unpack200.bytecode.NewAttribute.addBCLength(int, int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR112Medium
org.apache.harmony.unpack200.bytecode.NewAttribute.addBCOffset(int, int) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR102Medium
org.apache.harmony.unpack200.bytecode.NewAttribute.addInteger(int, long) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR97Medium
org.apache.harmony.unpack200.bytecode.NewAttribute.addInteger(int, long) invokes inefficient new Long(long) constructor; use Long.valueOf(long) insteadPERFORMANCEDM_NUMBER_CTOR98Medium
org.apache.harmony.unpack200.bytecode.NewAttribute.addToBody(int, Object) invokes inefficient new Integer(int) constructor; use Integer.valueOf(int) insteadPERFORMANCEDM_NUMBER_CTOR117Medium

  |

  |

org.apache.harmony.unpack200.bytecode.OperandManager


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
new org.apache.harmony.unpack200.bytecode.OperandManager(int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[]) may expose internal representation by storing an externally mutable object into OperandManager.bcByteMALICIOUS_CODEEI_EXPOSE_REP289Medium
new org.apache.harmony.unpack200.bytecode.OperandManager(int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[]) may expose internal representation by storing an externally mutable object into OperandManager.bcCaseCountMALICIOUS_CODEEI_EXPOSE_REP287Medium
new org.apache.harmony.unpack200.bytecode.OperandManager(int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[]) may expose internal representation by storing an externally mutable object into OperandManager.bcCaseValueMALICIOUS_CODEEI_EXPOSE_REP288Medium
new org.apache.harmony.unpack200.bytecode.OperandManager(int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[]) may expose internal representation by storing an externally mutable object into OperandManager.bcClassRefMALICIOUS_CODEEI_EXPOSE_REP298Medium
new org.apache.harmony.unpack200.bytecode.OperandManager(int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[]) may expose internal representation by storing an externally mutable object into OperandManager.bcDoubleRefMALICIOUS_CODEEI_EXPOSE_REP296Medium
new org.apache.harmony.unpack200.bytecode.OperandManager(int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[]) may expose internal representation by storing an externally mutable object into OperandManager.bcFieldRefMALICIOUS_CODEEI_EXPOSE_REP299Medium
new org.apache.harmony.unpack200.bytecode.OperandManager(int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[]) may expose internal representation by storing an externally mutable object into OperandManager.bcFloatRefMALICIOUS_CODEEI_EXPOSE_REP294Medium
new org.apache.harmony.unpack200.bytecode.OperandManager(int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[]) may expose internal representation by storing an externally mutable object into OperandManager.bcIMethodRefMALICIOUS_CODEEI_EXPOSE_REP2101Medium
new org.apache.harmony.unpack200.bytecode.OperandManager(int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[]) may expose internal representation by storing an externally mutable object into OperandManager.bcInitRefMALICIOUS_CODEEI_EXPOSE_REP2107Medium
new org.apache.harmony.unpack200.bytecode.OperandManager(int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[]) may expose internal representation by storing an externally mutable object into OperandManager.bcIntRefMALICIOUS_CODEEI_EXPOSE_REP293Medium
new org.apache.harmony.unpack200.bytecode.OperandManager(int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[]) may expose internal representation by storing an externally mutable object into OperandManager.bcLabelMALICIOUS_CODEEI_EXPOSE_REP292Medium
new org.apache.harmony.unpack200.bytecode.OperandManager(int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[]) may expose internal representation by storing an externally mutable object into OperandManager.bcLocalMALICIOUS_CODEEI_EXPOSE_REP291Medium
new org.apache.harmony.unpack200.bytecode.OperandManager(int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[]) may expose internal representation by storing an externally mutable object into OperandManager.bcLongRefMALICIOUS_CODEEI_EXPOSE_REP295Medium
new org.apache.harmony.unpack200.bytecode.OperandManager(int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[]) may expose internal representation by storing an externally mutable object into OperandManager.bcMethodRefMALICIOUS_CODEEI_EXPOSE_REP2100Medium
new org.apache.harmony.unpack200.bytecode.OperandManager(int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[]) may expose internal representation by storing an externally mutable object into OperandManager.bcShortMALICIOUS_CODEEI_EXPOSE_REP290Medium
new org.apache.harmony.unpack200.bytecode.OperandManager(int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[]) may expose internal representation by storing an externally mutable object into OperandManager.bcStringRefMALICIOUS_CODEEI_EXPOSE_REP297Medium
new org.apache.harmony.unpack200.bytecode.OperandManager(int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[]) may expose internal representation by storing an externally mutable object into OperandManager.bcSuperFieldMALICIOUS_CODEEI_EXPOSE_REP2104Medium
new org.apache.harmony.unpack200.bytecode.OperandManager(int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[]) may expose internal representation by storing an externally mutable object into OperandManager.bcSuperMethodMALICIOUS_CODEEI_EXPOSE_REP2106Medium
new org.apache.harmony.unpack200.bytecode.OperandManager(int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[]) may expose internal representation by storing an externally mutable object into OperandManager.bcThisFieldMALICIOUS_CODEEI_EXPOSE_REP2103Medium
new org.apache.harmony.unpack200.bytecode.OperandManager(int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[]) may expose internal representation by storing an externally mutable object into OperandManager.bcThisMethodMALICIOUS_CODEEI_EXPOSE_REP2105Medium
new org.apache.harmony.unpack200.bytecode.OperandManager(int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[], int[]) may expose internal representation by storing an externally mutable object into OperandManager.wideByteCodesMALICIOUS_CODEEI_EXPOSE_REP2108Medium

  |

  |

org.apache.harmony.unpack200.bytecode.RuntimeVisibleorInvisibleAnnotationsAttribute


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
new org.apache.harmony.unpack200.bytecode.RuntimeVisibleorInvisibleAnnotationsAttribute(CPUTF8, AnnotationsAttribute$Annotation[]) may expose internal representation by storing an externally mutable object into RuntimeVisibleorInvisibleAnnotationsAttribute.annotationsMALICIOUS_CODEEI_EXPOSE_REP238Medium

  |

  |

org.apache.harmony.unpack200.bytecode.RuntimeVisibleorInvisibleParameterAnnotationsAttribute


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
new org.apache.harmony.unpack200.bytecode.RuntimeVisibleorInvisibleParameterAnnotationsAttribute(CPUTF8, RuntimeVisibleorInvisibleParameterAnnotationsAttribute$ParameterAnnotation[]) may expose internal representation by storing an externally mutable object into RuntimeVisibleorInvisibleParameterAnnotationsAttribute.parameter_annotationsMALICIOUS_CODEEI_EXPOSE_REP239Medium

  |

  |

org.apache.harmony.unpack200.bytecode.RuntimeVisibleorInvisibleParameterAnnotationsAttribute$ParameterAnnotation


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
new org.apache.harmony.unpack200.bytecode.RuntimeVisibleorInvisibleParameterAnnotationsAttribute$ParameterAnnotation(AnnotationsAttribute$Annotation[]) may expose internal representation by storing an externally mutable object into RuntimeVisibleorInvisibleParameterAnnotationsAttribute$ParameterAnnotation.annotationsMALICIOUS_CODEEI_EXPOSE_REP279Medium

  |

  |

org.apache.harmony.unpack200.bytecode.forms.ByteCodeForm


  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
  |
BugCategoryDetailsLinePriority
org.apache.harmony.unpack200.bytecode.forms.ByteCodeForm.getRewrite() may expose internal representation by returning ByteCodeForm.rewriteMALICIOUS_CODEEI_EXPOSE_REP464Medium
new org.apache.harmony.unpack200.bytecode.forms.ByteCodeForm(int, String, int[]) may expose internal representation by storing an externally mutable object into ByteCodeForm.rewriteMALICIOUS_CODEEI_EXPOSE_REP2401Medium
org.apache.harmony.unpack200.bytecode.forms.ByteCodeForm.byteCodesByName is a mutable collection which should be package protectedMALICIOUS_CODEMS_MUTABLE_COLLECTION_PKGPROTECT31Medium
org.apache.harmony.unpack200.bytecode.forms.ByteCodeForm.byteCodeArray should be package protectedMALICIOUS_CODEMS_PKGPROTECT30Medium

  |

  |

  |

  |

  |

  |
  |
  |
 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions