Skip to content

Maven compiles, but VS Code does not #4139

@oliviercailloux

Description

@oliviercailloux

This project, branch vsctypes, does not compile in VS Code, whereas Maven compiles it without error.

To reproduce, clone this project, checkout branch vsctypes, open it with code . --profile "new" --user-data-dir $HOME/new, trust it, accept to install Extension Pack for Java, and observe the errors spring (for example, “The method get(TSupplier<? extends T,? extends X>) in the type Try is not applicable for the arguments (() -> {})”).

Version: 1.102.3
Commit: 488a1f239235055e34e673291fb8d8c810886f81
Date: 2025-07-29T03:00:23.339Z
Electron: 35.6.0
ElectronBuildId: 11847422
Chromium: 134.0.6998.205
Node.js: 22.15.1
V8: 13.4.114.21-electron.0
OS: Linux x64 6.1.0-37-amd64

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions