JDK 8 bug? Lambda behaving differently than anonymous inner class · HackerTrans