[jdk17u-dev] Integrated: 8263940: NPE when creating default file system when default file system provider is packaged as JAR file on class path

Amos Shi ashi at openjdk.org
Thu Apr 25 15:16:42 UTC 2024


On Thu, 11 Apr 2024 06:02:58 GMT, Amos Shi <ashi at openjdk.org> wrote:

> Backport of [JDK-8263940](https://bugs.openjdk.org/browse/JDK-8263940)
> - This PR is not clean, while the only difference is we added an additional import to make the compile work.
> - So it can be `considered as clean`
> 
> 
> @@ -69,6 +68,7 @@
>  import jdk.internal.ref.CleanerFactory;
>  import jdk.internal.vm.annotation.Stable;
>  import sun.nio.cs.UTF_8;
> +import sun.nio.fs.DefaultFileSystemProvider;
>  import sun.security.util.SignatureFileVerifier;
>  
>  import static java.util.zip.ZipConstants64.*;
> 
> 
> Testing
> - Local: `SetDefaultProvider.java` - Test results: passed: 1
> - Pipeline: **All checks have passed**
> - Testing Machine: SAP nightlies passed on `2024-04-17,19,20`
>   - java/nio/file/spi/SetDefaultProvider.java: SUCCESSFUL GitHub 📊⏲ - [6,510 msec]

This pull request has now been integrated.

Changeset: b13cb2f5
Author:    Amos Shi <ashi at openjdk.org>
URL:       https://git.openjdk.org/jdk17u-dev/commit/b13cb2f5db0ba178a1fcee54aa3209acdeb33e30
Stats:     54 lines in 2 files changed: 48 ins; 2 del; 4 mod

8263940: NPE when creating default file system when default file system provider is packaged as JAR file on class path

Reviewed-by: lucy
Backport-of: 717792c3b728584413572e7aede83290779be2a2

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

PR: https://git.openjdk.org/jdk17u-dev/pull/2390


More information about the jdk-updates-dev mailing list