Skip to content

Using java.util.Collections kills the compiler ("class file ... is broken, ...") #536

Closed
@smarter

Description

@smarter
object Max {
  java.util.Collections.max(null)
}

Boom:

error: error while loading Collections$1,
 class file /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/rt.jar(java/util/Collections$1.class) is broken, reading aborted with class java.util.NoSuchElementException
key not found: E
one error found

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions