Please review: Bug: https://bugs.openjdk.java.net/browse/JDK-8168146 Webrev: http://cr.openjdk.java.net/~hannesw/8168146/webrev/ The (int) cast is all that’s needed to fix the bug. I also reviewed the setter for long values which isn’t used anymore. Thanks, Hannes