JDK 16 RFR of JDK-8248983: Add Name.isEmpty
james.laskey at oracle.com
Wed Jul 8 11:59:33 UTC 2020
That dreaded bootstrap curse. If only we had chinstraps.
> On Jul 7, 2020, at 11:23 PM, Joe Darcy <joe.darcy at oracle.com> wrote:
> Please review the webev and CSR for
> JDK-8248983: Add Name.isEmpty
> CSR: https://bugs.openjdk.java.net/browse/JDK-8249005
> webrev: http://cr.openjdk.java.net/~darcy/8248983.0/
> In its current form, this fix can only be pushed *after* the minimum boot JDK in the JDK 16 build is updated to JDK 15. Otherwise, the default method on CharSequence is not necessarily present.
> To be pushed earlier, the default method on Name would need to be changed to host an implementation that didn't delegate to CharSequence.isEmpty. It would not be difficult to take that route instead with a follow-up bug to change the implementation of the default method later.
More information about the compiler-dev