BUG-2625: validate l2switch using jdk8 only