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

Vicente Romero vromero at openjdk.org
Thu Feb 5 13:21:07 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

@liach thanks for the review

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

PR Comment: https://git.openjdk.org/valhalla/pull/2044#issuecomment-3853590610


More information about the valhalla-dev mailing list