Skip to content

Add support for JDK11+ (>8) #143

@coiouhkc

Description

@coiouhkc

If tlp-stress is built with JDK 11, then (apparently) the compiler optimizes away the code within map:

Run.kt

runners.parallelStream().map {
    it.populate(populate)
}.count()

Better (thanks @sebastiankonieczek) to use somthing like

runners.parallelStream().forEach {
    it.populate(populate)
}

,
otherwise the population of Cassandra tables does not take place.

PS_ building the tool with JDK8 works.

PPS_ thanks for the tool.

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