Merge branch '3.2.x'

Closes gh-40599
This commit is contained in:
Phillip Webb 2024-05-01 22:46:53 -07:00
commit 63dedaafe0
1 changed files with 1 additions and 1 deletions

View File

@ -172,7 +172,7 @@ final class JarUrlConnection extends java.net.JarURLConnection {
@Override
public Permission getPermission() throws IOException {
return this.jarFileConnection.getPermission();
return (this.jarFileConnection != null) ? this.jarFileConnection.getPermission() : null;
}
@Override