Skip to content

Compilation fails with jmh-generator-annprocess:1.37 #260

@sergeykad

Description

@sergeykad

Describe the bug
Running build with jmhAnnotationProcessor 'org.openjdk.jmh:jmh-generator-annprocess:1.37' causes compilation failure due to missing shouldYield field in the org.openjdk.jmh.runner.InfraControl class.

Downgrading back to version 1.36 resolves the issue.

                if (control.shouldYield) Thread.yield();
                           ^
  symbol:   variable shouldYield
  location: variable control of type InfraControl

To Reproduce
Steps to reproduce the behavior:

  1. Upgrade to jmh-generator-annprocess:1.37
  2. Run build
  3. See the error mentioned above

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions