Skip to content

-release 8 causes java.time.Instant to have a fictitious constructor #15144

Closed
@smarter

Description

@smarter

On Java 9+:

% scala -release 8
scala> new java.time.Instant
java.lang.NoSuchMethodError: java.time.Instant: method 'void <init>()' not found
  ... 34 elided

This is the same issue as scala/bug#12565 which was fixed by scala/scala#9981

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions