-
Notifications
You must be signed in to change notification settings - Fork 290
Open
Labels
Description
What happened?
java.awt source code does not match the bytecode when debugging, but the deeper issue here is that appropriate JBR is not automatically downloaded/selected, for me temurin 21 was automatically selected.
Even for manually downloaded JBR sources do not match bytecode
Relevant log output or stack trace
Steps to reproduce
Steps to reproduce:
- Clone JetBrains/intellij-platform-plugin-template@de6b4c8
- Open com.intellij.ide.IdeKeyboardFocusManager
- Download sources
- Go to dispatchEvent method
- Place breakpoint in the beginning of the method
- Run "Run Plugin" run configuration
- When execution hits the breakpoint, go to java.awt source up the stack trace and see mismatched bytecode
Changing JVM to JBR was tested with:
- Download JBR 21.0.9 (tested both jcef and non-jcef variants) in project structure SDK view
- Change JVM in both project settings and gradle settings
- Reload gradle project
- Side note: this for some reason adds another JDK in External Libraries instead of replacing it
Gradle IntelliJ Plugin version
2.10.5
Gradle version
9.2.1
Operating System
Linux
Link to build, i.e. failing GitHub Action job
No response
Reactions are currently unavailable