-
Enhancement
-
Resolution: Fixed
-
P4
-
9
-
None
-
b89
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8142837 | emb-9 | Attila Szegedi | P4 | Resolved | Fixed | team |
There's an elaborate and overcomplicated class hierarchy for call site descriptors; it needs to be simplified to a single SimpleCallSiteDescriptor type.
At the same time, AutoDiscovery, DefaultPrelinkFilter, and BottomGuardingDynamicLinker should be removed as they can be inlined into DynamicLinkerFactory.
In similar fashion, CallerSensitiveDetector can be inlined into AbstractJavaLinker.
Public classes from the "support" package only used by one other package should be moved into that package and made package-private to reduce the API surface: LinkerServicesImpl, TypeConverterFactory, ClassLoaderGetterContextProvider, ClassMap.
At the same time, AutoDiscovery, DefaultPrelinkFilter, and BottomGuardingDynamicLinker should be removed as they can be inlined into DynamicLinkerFactory.
In similar fashion, CallerSensitiveDetector can be inlined into AbstractJavaLinker.
Public classes from the "support" package only used by one other package should be moved into that package and made package-private to reduce the API surface: LinkerServicesImpl, TypeConverterFactory, ClassLoaderGetterContextProvider, ClassMap.
- backported by
-
JDK-8142837 Remove some obsolete Dynalink classes
- Resolved