Duplicate :
|
|
Relates :
|
|
Relates :
|
|
Relates :
|
In JDK-8257827 CSR, a further comment was raised about changing the semantics of the method. This allegedly introduces the conformance problem. While it is still an open question where the conformance problem is real, we can sidestep the entire issue by allowing only empty static methods to be blackholed. This eliminates any behavioral difference: empty methods have no side effects, and static methods do not need any null checks. JMH changes are done in CODETOOLS-7902813.
|