You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You see there is a compile error as shown in the screenshot.
Expected Result
The value is recognized as a consant expression and simply works.
Additional Informations
The problem is that the compiler somehow does not identify the CTL_ENDPOINT to be a contant value. If the superclass does not use generics this works, so the generics make determination wrong. This would make sense if the ENDPOINT in the superclass would somehow use information from the generic type T, but that is not the case.
Note: I believe this actually used to work in the past as well, so maybe some update must have broken this.
When compile with maven, everything works fine. Also tried this code in IntelliJ, and there it works as well.
The text was updated successfully, but these errors were encountered:
Originally posted by @ChrisVesters in microsoft/vscode-java-debug#1230
The text was updated successfully, but these errors were encountered: