TYRUS-366: master branch not buildable with JDK 1.6