Java record class causing Java Language Server to crash

Problem description

When creating a record class, Java Language Server starts to crash in a loop. Removing the record class immediately stabilizes the Java Language Server. 100% reproducible.

Expected behavior

The Java Language Server should remain active even with record class in a project.

Actual behavior

Instead, as soon as record class is entered, Java Language Server starts crashing.

Steps to reproduce

Add dependency: System module: Java Tools (with Graal VM) 22.3.1

  • Java Language Server is active and working, auto-completion works when typing.

Declare (empty) record class
-Java Language Server remains active

Declare record class with field in parenteses
-Java Language Server starts crashing

Remove field from record class
-Java Language Server stabilizes again

Browser

Firefox

OS

Windows 10

Device if mobile

Android app

Plan

Free tier

Please upload screenshots