--- old/test/jdk/java/math/BigDecimal/RangeTests.java 2018-03-20 10:08:24.575899972 +0100 +++ new/test/jdk/java/math/BigDecimal/RangeTests.java 2018-03-20 10:08:24.351899975 +0100 @@ -1,5 +1,5 @@ /* - * Copyright (c) 2003, 2011, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -26,7 +26,7 @@ * @bug 7036582 * @summary Some new tests for the add method and constructor with MathContext. * @run main RangeTests - * @run main/othervm -XX:+AggressiveOpts RangeTests + * @run main/othervm -XX:+EliminateAutoBox -XX:AutoBoxCacheMax=20000 RangeTests * @author Sergey V. Kuksenko */