Description
Vscode Spring Boot Tools 1.40.0 prevents Java Unit Tests from Running/Debugging when JDK 11 is specified in spring-boot.ls.java.home setting.
To Reproduce
Prerequisite: VSCode with Java Extension Pack and Spring Boot Extension Pack (version of VSCode : 1.73.1)
- Clone the sample java project linked below
- Download an install an OpenJDK 11
- Open VSCode on the sample java project folder.
- Edit the settings.json of VSCode and set value of spring-boot.ls.java.home to path of installed JDK 11
- Go to Test viewlet and try to run/debug the only unit test of the project
Sample
https://github.com/ogarry80/com.vscode.java.project