Skip to content

[Question] Unresolved compilation problem: The method of(String) is undefined for the type List #28

@wstever

Description

@wstever

Question

你们会有这个问题吗?IDEA配置的是JDK17,但是还是提示map.of(JDK9新特性)不可用,需要改写成JDK 8适配的case。

Image

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