With the addition of a factory method, the test throws an assertion -- which isn't what it is testing.
Rather than asserting that the method is one that it wants to test, it should do further testing if it is.
Rather than asserting that the method is one that it wants to test, it should do further testing if it is.
- blocks
-
JDK-8023984 Lambda metafactory: startup performance improvement for using a static factory ref instead of ctor ref
- Resolved