Skip to content

Should Generate warnings when synchronized on AnyVal #17284

Closed
@He-Pin

Description

@He-Pin

Compiler version

3.2.2

Minimized code

1.synchronized{}

Output

image

Expectation

generate some warning as https://openjdk.org/jeps/390

Metadata

Metadata

Assignees

No one assigned

    Labels

    SpreeSuitable for a future Spreearea:reportingError reporting including formatting, implicit suggestions, etcitype:enhancement

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions