RFR: 8252767: URLConnection.setRequestProperty throws IllegalAccessError [v6]
Chris Hegarty
chegar at openjdk.java.net
Mon Sep 7 12:33:37 UTC 2020
On Mon, 7 Sep 2020 11:47:36 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:
>> Can I please get a review and a sponsor for a fix for the issue reported at
>> https://bugs.openjdk.java.net/browse/JDK-8252767?
>> As noted in that issue, the `sun.net.www.URLConnection#setRequestProperty` is throwing a `IllegalAccessError` instead
>> of a `IllegalStateException`. The commit here fixes that and includes a test which reproduces the issue and verifies
>> the fix. Would a CSR be needed for this change?
>
> Jaikiran Pai has updated the pull request incrementally with one additional commit since the last revision:
>
> Use new TestNG Assert#assertThrows API
Marked as reviewed by chegar (Reviewer).
-------------
PR: https://git.openjdk.java.net/jdk/pull/26
More information about the net-dev
mailing list