--- old/test/jdk/java/math/BigDecimal/RangeTests.java 2018-03-21 08:28:41.017678758 +0100 +++ new/test/jdk/java/math/BigDecimal/RangeTests.java 2018-03-21 08:28:40.809679577 +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:+IgnoreUnrecognizedVMOptions -XX:+EliminateAutoBox -XX:AutoBoxCacheMax=20000 RangeTests * @author Sergey V. Kuksenko */