SpotBugs Bug Detector Report
The following document contains the results of SpotBugs
SpotBugs Version is 4.8.6
Threshold is low
Effort is max
Summary
Classes | Bugs | Errors | Missing Classes |
---|---|---|---|
5 | 4 | 0 | 0 |
Files
it.tidalwave.messagebus.impl.spring.MessageBusAdapterFactory$MessageBusListenerAdapter
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Invocation of reflect.Method.setAccessible(boolean), which should be invoked from within a doPrivileged block, in new it.tidalwave.messagebus.impl.spring.MessageBusAdapterFactory$MessageBusListenerAdapter(MessageBusAdapterFactory, Object, Method, Class) | MALICIOUS_CODE | DP_DO_INSIDE_DO_PRIVILEGED | 75 | Low |
it.tidalwave.messagebus.impl.spring.SpringSimpleMessageSubscriberAspect
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
it.tidalwave.messagebus.impl.spring.SpringSimpleMessageSubscriberAspect.ajc$perSingletonInstance isn't final but should be | MALICIOUS_CODE | MS_SHOULD_BE_FINAL | Low | |
Primitive field it.tidalwave.messagebus.impl.spring.SpringSimpleMessageSubscriberAspect.ajc$perSingletonInstance is public and set from inside the class, which makes it too exposed. Consider making it private to limit external accessibility. | BAD_PRACTICE | PA_PUBLIC_PRIMITIVE_ATTRIBUTE | 1 | Medium |
it.tidalwave.messagebus.impl.spring.SpringSimpleMessageSubscriberSupport
Bug | Category | Details | Line | Priority |
---|---|---|---|---|
Exception thrown in class it.tidalwave.messagebus.impl.spring.SpringSimpleMessageSubscriberSupport at new it.tidalwave.messagebus.impl.spring.SpringSimpleMessageSubscriberSupport(BeanFactory, Object) will leave the constructor. The object under construction remains partially initialized and may be vulnerable to Finalizer attacks. | BAD_PRACTICE | CT_CONSTRUCTOR_THROW | 47 | Medium |