SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.9.8
Threshold is medium
Effort is default
Summary
| Classes |
Bugs |
Errors |
Missing Classes |
| 23 |
6 |
0 |
0 |
org.myjtools.imconfig.internal.ConfigFactory
| Bug |
Category |
Details |
Line |
Priority |
| Found reliance on default encoding in org.myjtools.imconfig.internal.ConfigFactory.ofResource(String, ClassLoader): new java.io.InputStreamReader(InputStream) |
I18N |
DM_DEFAULT_ENCODING |
138 |
High |
| Found reliance on default encoding in org.myjtools.imconfig.internal.ConfigFactory.ofURI(URI): new java.io.InputStreamReader(InputStream) |
I18N |
DM_DEFAULT_ENCODING |
129 |
High |
org.myjtools.imconfig.types.DecimalPropertyType
| Bug |
Category |
Details |
Line |
Priority |
| Exception thrown in class org.myjtools.imconfig.types.DecimalPropertyType at new org.myjtools.imconfig.types.DecimalPropertyType(Number, Number) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
13 |
Medium |
org.myjtools.imconfig.types.EnumPropertyType
| Bug |
Category |
Details |
Line |
Priority |
| Exception thrown in class org.myjtools.imconfig.types.EnumPropertyType at new org.myjtools.imconfig.types.EnumPropertyType(List) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
15 |
Medium |
| org.myjtools.imconfig.types.EnumPropertyType.values() may expose internal representation by returning EnumPropertyType.values |
MALICIOUS_CODE |
EI_EXPOSE_REP |
26 |
Medium |
org.myjtools.imconfig.types.IntegerPropertyType
| Bug |
Category |
Details |
Line |
Priority |
| Exception thrown in class org.myjtools.imconfig.types.IntegerPropertyType at new org.myjtools.imconfig.types.IntegerPropertyType(Number, Number) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. |
BAD_PRACTICE |
CT_CONSTRUCTOR_THROW |
14 |
Medium |