Integrated: 8252767: URLConnection.setRequestProperty throws IllegalAccessError

Jaikiran Pai jpai at openjdk.java.net
Tue Sep 8 09:12:54 UTC 2020


On Sun, 6 Sep 2020 05:46:42 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?

This pull request has now been integrated.

Changeset: 5dd1eade
Author:    Jaikiran Pai <jpai at openjdk.org>
Committer: Daniel Fuchs <dfuchs at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/5dd1eade
Stats:     137 lines in 2 files changed: 8 ins; 106 del; 23 mod

8252767: URLConnection.setRequestProperty throws IllegalAccessError

Reviewed-by: chegar, michaelm, alanb

-------------

PR: https://git.openjdk.java.net/jdk/pull/26


More information about the net-dev mailing list