Details
-
Bug
-
Resolution: Fixed
-
P3
-
17
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8264638 | 15.0.4 | Vladimir Kempik | P3 | Resolved | Fixed | b01 |
JDK-8264831 | 13.0.8 | Vladimir Kempik | P3 | Resolved | Fixed | b01 |
JDK-8262192 | 11.0.12-oracle | Dukebot | P3 | Resolved | Fixed | b01 |
JDK-8267487 | 11.0.12 | Vladimir Kempik | P3 | Resolved | Fixed | b04 |
Description
JNF dependencies from the desktop module.
It would be good to also remiove the dependency from other areas
In the java.security.jgss module the file libosxkrb5/SCDynamicStoreConfig.m
makes uses of two categories of support
1) - JNI utility functions - which can be easily converted to direct JNU
2) - Type coercion support which is a small framework of classes to
support conversion between NS collections and JDK collections.
In particular it is used to convert an NSDictionary into a Hashtable.
As well as that converter, converters are registered for strings, numbers
(which can be float or integer) NSArrays (into java.util.List)
So I think that (eg) if the dictionary itself contains a dictionary, then
the resulting Java Hashtable will contain a Hashtable.
The class sun/security/krb5/SCDynamicStoreConfig.convertNativeConfig() defines
what we are expecting so shows what cases need to be handled
So a good amount of coding needed here.
Or perhaps this code can be simplified ?
Attachments
Issue Links
- backported by
-
JDK-8262192 [macOS]: Remove JNF dependency from libosxkrb5/SCDynamicStoreConfig.m
- Resolved
-
JDK-8264638 [macOS]: Remove JNF dependency from libosxkrb5/SCDynamicStoreConfig.m
- Resolved
-
JDK-8264831 [macOS]: Remove JNF dependency from libosxkrb5/SCDynamicStoreConfig.m
- Resolved
-
JDK-8267487 [macOS]: Remove JNF dependency from libosxkrb5/SCDynamicStoreConfig.m
- Resolved
- relates to
-
JDK-8268093 Manual Testcase: "sun/security/krb5/config/native/TestDynamicStore.java" Fails with NPE
- Resolved
-
JDK-8257852 ☂ : Remove JNF dependencies from java.desktop module
- Closed
- links to
-
Commit openjdk/jdk13u-dev/9d0d73e9
-
Commit openjdk/jdk15u-dev/0da4bb80
-
Commit openjdk/jdk/4a8b5c16
-
Review openjdk/jdk13u-dev/169
-
Review openjdk/jdk15u-dev/7
-
Review openjdk/jdk/1845