-
Enhancement
-
Resolution: Fixed
-
P4
-
9
-
b120
At present, 'slice()' and 'duplicate()' are defined separately in all subtypes of java.nio.Buffer. Hoisting them up to the base class (at the same time overriding covariantly in each of the subtypes) would allow more code reuse when working with buffers.
- relates to
-
JDK-8156931 java.nio.Buffer tests cleanup
-
- Closed
-
-
JDK-4774077 Use covariant return types in the NIO buffer hierarchy
-
- Closed
-
-
JDK-8040819 (bf) Generify java.nio.Buffer
-
- Closed
-