Warnings removed for jdk8