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

Chen Liang liach at openjdk.org
Thu Feb 5 03:02:26 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

Marked as reviewed by liach (Committer).

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

PR Review: https://git.openjdk.org/valhalla/pull/2044#pullrequestreview-3754256409


More information about the valhalla-dev mailing list