On Tue, 28 Oct 2025 10:18:57 GMT, Jaikiran Pai <[email protected]> wrote:

> Can I please get a review of this change which removes an obsolete internal 
> interface?
> 
> The `sun.nio.ByteBuffered` interface is internal to the java.base module and 
> does not have any implementations in the JDK. The only place where we use 
> this is in `jdk.internal.loader.Resource` (another internal class within 
> java.base). The usage itself is a mere `instanceof` check against the 
> `InputStream` corresponding to that `Resource`. Given that there are no 
> implementations of this interface, that check is redundant.
> 
> tier testing is currently in progress with this change, and given the nature 
> of this change, no new tests have been introduced.

This pull request has now been integrated.

Changeset: 20bcf0ed
Author:    Jaikiran Pai <[email protected]>
URL:       
https://git.openjdk.org/jdk/commit/20bcf0eddaee0a57142bcc614cc5415b53c16460
Stats:     67 lines in 3 files changed: 0 ins; 66 del; 1 mod

6400876: (bf) Remove sun.nio.ByteBuffered and related obsolete code

Reviewed-by: djelinski, vyazici, alanb

-------------

PR: https://git.openjdk.org/jdk/pull/28016

Reply via email to