-
Enhancement
-
Resolution: Fixed
-
P3
-
9
-
None
-
b89
-
generic
-
generic
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8142844 | emb-9 | Attila Szegedi | P3 | Resolved | Fixed | team |
Class naming and package organization in Dynalink should be improved. All package and type names below are presumed to be named relative to the Dynalink package itself. Specifically:
1. linker.GuardedInvocationFilter should be renamed to linker.GuardedInvocationTransformer. "Filter" implies a predicate; this interface OTOH takes and returns a GuardedInvocation.
2. a new package for classes supporting the linker package should be introduced, named linker.support. These classes were so far in the support package. The classes in question are: support.CompositeGuardingDynamicLinker, support.CompositeTypeBasedGuardingDynamicLinker, support.DefaultInternalObjectFilter, support.Guards, support.Lookup, support.SimpleLinkRequest, support.TypeUtilities,
3. MonomorphicCallSite should be renamed to SimpleRelinkableCallSite (in keeping with the principle of naming simplest possible implementations) and moved to support package
4. ChainedCallSite should be moved to support package
1. linker.GuardedInvocationFilter should be renamed to linker.GuardedInvocationTransformer. "Filter" implies a predicate; this interface OTOH takes and returns a GuardedInvocation.
2. a new package for classes supporting the linker package should be introduced, named linker.support. These classes were so far in the support package. The classes in question are: support.CompositeGuardingDynamicLinker, support.CompositeTypeBasedGuardingDynamicLinker, support.DefaultInternalObjectFilter, support.Guards, support.Lookup, support.SimpleLinkRequest, support.TypeUtilities,
3. MonomorphicCallSite should be renamed to SimpleRelinkableCallSite (in keeping with the principle of naming simplest possible implementations) and moved to support package
4. ChainedCallSite should be moved to support package
- backported by
-
JDK-8142844 Improve Dynalink class nomenclature and package organization
-
- Resolved
-