hg: code-tools/jmh: 7901813: @AuxCounters method constraints conflict with @State ones

ashipile at redhat.com ashipile at redhat.com
Wed Oct 5 17:21:44 UTC 2016


Changeset: 7a25c71b43bf
Author:    shade
Date:      2016-10-05 19:21 +0200
URL:       http://hg.openjdk.java.net/code-tools/jmh/rev/7a25c71b43bf

7901813: @AuxCounters method constraints conflict with @State ones
Summary: Relax the requirement for "void" return type, implicitly allowing @Setup/@TearDown-s.

+ jmh-core-ct/src/test/java/org/openjdk/jmh/ct/other/auxcounters/HelperConflictTest.java
! jmh-core-ct/src/test/java/org/openjdk/jmh/ct/other/auxcounters/counterTypes/publicMethods/VoidTest.java
! jmh-core/src/main/java/org/openjdk/jmh/annotations/AuxCounters.java
! jmh-core/src/main/java/org/openjdk/jmh/generators/core/StateObjectHandler.java



More information about the jmh-dev mailing list