-
Bug
-
Resolution: Done
-
Major
-
None
-
None
With recent commit to master branch that fixes UNDERTOW-1448, there was introduced following spotbugs error:
[15:57:25][Step 1/1] [INFO] --- spotbugs-maven-plugin:3.1.5:check (find-bugs) @ undertow-core --- [15:57:25][Step 1/1] [INFO] BugInstance size is 1 [15:57:25][Step 1/1] [INFO] Error size is 0 [15:57:25][Step 1/1] [INFO] Total bugs: 1 [15:57:25][Step 1/1] [ERROR] io.undertow.server.protocol.http.AlpnOpenListener.REQUIRED_PROTOCOLS is a mutable collection which should be package protected [io.undertow.server.protocol.http.AlpnOpenListener] At AlpnOpenListener.java:[line 73] MS_MUTABLE_COLLECTION_PKGPROTECT
Here is description for the issue how spotbugs explains.
At the moment the problematic field is used only on one place and only in AlpnOpenListener class. Maybe we can change it to private or use suggested fix to use unmodifiableSet.
- is caused by
-
UNDERTOW-1448 HTTP/2 is not used when only TLSv1.3 is enabled
- Resolved
- is cloned by
-
JBEAP-16170 (7.2.z) UNDERTOW-1450 - Spotbugs error MS_MUTABLE_COLLECTION_PKGPROTECT in AlpnOpenListener
- Closed