RFR: 8367049: URL.openConnection throws StringIndexOutOfBoundsException in avm mode

Oumaiyma Intissar duke at openjdk.org
Tue Nov 4 17:37:26 UTC 2025


On Tue, 4 Nov 2025 14:56:53 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> The title on the JBS issue and PR is a bit confusing. Opening a URL connection shouldn't use URLPermission anymore so I think the issue (in main line) is really with code that uses the deprecated URLPermission class directly. Would it be possible to confirm this, and if confirmed, can the JBS issue be renamed?

Thank you for your feedback. The issue was reported specifically for JDK 17, so the current JBS issue title accurately reflects the context and version concerned. While the root cause is with `URLPermission` and `HostPortrange` (which still exist in the main line) the title needs to remain as is to properly indicate that this is a JDK 17 issue.

The planned approach is to address and fix the issue in the main line first. Once resolved, the fix will then be backported to JDK 17 and other affected releases.

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

PR Comment: https://git.openjdk.org/jdk/pull/27896#issuecomment-3487242775


More information about the net-dev mailing list