pfirmstone / JGDMS

Infrastructure for providing secured micro services, that are dynamically discoverable and searchable over ipv6 networks
https://pfirmstone.github.io/JGDMS/
Apache License 2.0
14 stars 4 forks source link

Module :: JGDMS Jini Extensible Remote Invocation SpotBugs fixes #127

Closed pfirmstone closed 3 years ago

pfirmstone commented 3 years ago

Describe the bug Bugs identified by SpotBugs static analysis, note the third bug is a false positive.

net.jini.jeri.ssl.FilterX509TrustManager$1.run() may fail to clean up java.io.InputStream on checked exception | EXPERIMENTAL | OBL_UNSATISFIED_OBLIGATION_EXCEPTION_EDGE -- | -- | -- Redundant nullcheck of serverCert, which is known to be non-null in new net.jini.jeri.ssl.SslServerEndpointImpl$SslServerConnection(SslServerEndpointImpl$SslListenHandle, Socket) | STYLE | RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE -- | -- | -- Inconsistent synchronization of org.apache.river.jeri.internal.runtime.Binding.requestDispatcher; locked 75% of time | MT_CORRECTNESS | IS2_INCONSISTENT_SYNC -- | -- | --