Integrated: [bworld] javac crash for abstract methods with null restricted arguments

Vicente Romero vromero at openjdk.org
Thu Feb 5 13:21:08 UTC 2026


On Thu, 5 Feb 2026 01:31:38 GMT, Vicente Romero <vromero at openjdk.org> wrote:

> fixing a silly bug, basically javac can crash for code like:
> 
> 
> abstract class I {
>     abstract void m(String! s);
> }
> 
> javac was trying to access the method's body but it is `null` for abstract methods
> 
> TIA

This pull request has now been integrated.

Changeset: 1992c3e7
Author:    Vicente Romero <vromero at openjdk.org>
URL:       https://git.openjdk.org/valhalla/commit/1992c3e7521740de45a3ffc3eb6975a80c9b53f4
Stats:     30 lines in 2 files changed: 21 ins; 3 del; 6 mod

[bworld] javac crash for abstract methods with null restricted arguments

Reviewed-by: liach

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

PR: https://git.openjdk.org/valhalla/pull/2044


More information about the valhalla-dev mailing list