RFR: 8304911: Use OperatingSystem enum in some modules
    ExE Boss 
    duke at openjdk.org
       
    Wed Apr  5 05:11:08 UTC 2023
    
    
  
On Tue, 4 Apr 2023 19:22:48 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
> With the addition of `jdk.internal.util.OperatingSystem` references to the system property `os.name` can be replaced.
> This PR exports jdk.internal.util to:
>  - java.prefs,
>  - java.security.jgss,
>  - java.smartcardio,
>  - jdk.charsets,
>  - jdk.net,
>  - jdk.zipfs
src/java.security.jgss/share/classes/sun/security/jgss/wrapper/SunNativeProvider.java line 105:
> 103:                                 case WINDOWS -> // Full path needed, DLL is in jre/bin
> 104:                                         new String[]{StaticProperty.javaHome()
> 105:                                                 + "\\bin\\sspi_bridge.dll"};
Suggestion:
                                        new String[]{ StaticProperty.javaHome()
                                                + "\\bin\\sspi_bridge.dll" };
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/13335#discussion_r1158027900
    
    
More information about the net-dev
mailing list