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

Classes Bugs Errors Missing Classes
566 8 0 0

net.jini.core.entry.UnusableEntryException

Bug Category Details Line Priority
net.jini.core.entry.UnusableEntryException.getNestedExceptions() may expose internal representation by returning UnusableEntryException.nestedExceptions MALICIOUS_CODE EI_EXPOSE_REP 182 Medium
net.jini.core.entry.UnusableEntryException.getUnusableFields() may expose internal representation by returning UnusableEntryException.unusableFields MALICIOUS_CODE EI_EXPOSE_REP 168 Medium
new net.jini.core.entry.UnusableEntryException(Entry, String[], Throwable[]) may expose internal representation by storing an externally mutable object into UnusableEntryException.nestedExceptions MALICIOUS_CODE EI_EXPOSE_REP2 141 Medium
new net.jini.core.entry.UnusableEntryException(Entry, String[], Throwable[]) may expose internal representation by storing an externally mutable object into UnusableEntryException.unusableFields MALICIOUS_CODE EI_EXPOSE_REP2 140 Medium

net.jini.core.lookup.ServiceItem

Bug Category Details Line Priority
new net.jini.core.lookup.ServiceItem(ServiceID, Object, Entry[]) may expose internal representation by storing an externally mutable object into ServiceItem.attributeSets MALICIOUS_CODE EI_EXPOSE_REP2 83 Medium

net.jini.core.lookup.ServiceMatches

Bug Category Details Line Priority
new net.jini.core.lookup.ServiceMatches(ServiceItem[], int) may expose internal representation by storing an externally mutable object into ServiceMatches.items MALICIOUS_CODE EI_EXPOSE_REP2 77 Medium

net.jini.core.lookup.ServiceTemplate

Bug Category Details Line Priority
new net.jini.core.lookup.ServiceTemplate(ServiceID, Class[], Entry[]) may expose internal representation by storing an externally mutable object into ServiceTemplate.attributeSetTemplates MALICIOUS_CODE EI_EXPOSE_REP2 106 Medium
new net.jini.core.lookup.ServiceTemplate(ServiceID, Class[], Entry[]) may expose internal representation by storing an externally mutable object into ServiceTemplate.serviceTypes MALICIOUS_CODE EI_EXPOSE_REP2 105 Medium