mirror of
https://github.com/openjdk/jdk.git
synced 2026-06-06 10:42:45 +00:00
8163482: java.net.URLPermission.getActions() adds a trailing colon when header-names is empty
Reviewed-by: chegar, dfuchs
This commit is contained in:
parent
9c0a3e6ca9
commit
b09d8ad0e6
@ -217,7 +217,7 @@ public final class URLPermission extends Permission {
|
||||
* where method-names is the list of methods separated by commas
|
||||
* and header-names is the list of permitted headers separated by commas.
|
||||
* There is no white space in the returned String. If header-names is empty
|
||||
* then the colon separator will not be present.
|
||||
* then the colon separator may not be present.
|
||||
*/
|
||||
public String getActions() {
|
||||
return actions;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user