Re: RFR 8163482: java.net.URLPermission.getActions() adds a trailing colon when header-names is empty

2016-10-06 Thread Chris Hegarty
> On 6 Oct 2016, at 08:31, Vyom Tewari wrote: > > Hi All, > > Please find the spec change for below issue. > > BugId : https://bugs.openjdk.java.net/browse/JDK-8163482 > > Webrev : http://cr.openjdk.java.net/~vtewari/8163482/webrev0.0/index.html >

Re: RFR 8163482: java.net.URLPermission.getActions() adds a trailing colon when header-names is empty

2016-10-06 Thread Daniel Fuchs
On 06/10/16 11:46, Vyom Tewari wrote: On Thursday 06 October 2016 03:04 PM, Daniel Fuchs wrote: Hi Vyom, So if I understand well, the class level API documentation allowed for the colon to be either omitted or present: 121 * 122 * The colon separator need not be present if the request h

Re: RFR 8163482: java.net.URLPermission.getActions() adds a trailing colon when header-names is empty

2016-10-06 Thread Vyom Tewari
On Thursday 06 October 2016 03:04 PM, Daniel Fuchs wrote: Hi Vyom, So if I understand well, the class level API documentation allowed for the colon to be either omitted or present: 121 * 122 * The colon separator need not be present if the request headers list is empty. but the getAct

Re: RFR 8163482: java.net.URLPermission.getActions() adds a trailing colon when header-names is empty

2016-10-06 Thread Daniel Fuchs
Hi Vyom, So if I understand well, the class level API documentation allowed for the colon to be either omitted or present: 121 * 122 * The colon separator need not be present if the request headers list is empty. but the getActions() javadoc indicated that the colon would be omitted if t

RFR 8163482: java.net.URLPermission.getActions() adds a trailing colon when header-names is empty

2016-10-06 Thread Vyom Tewari
Hi All, Please find the spec change for below issue. BugId : https://bugs.openjdk.java.net/browse/JDK-8163482 Webrev : http://cr.openjdk.java.net/~vtewari/8163482/webrev0.0/index.html The reason of this change is a