< prev index next >

test/hotspot/jtreg/compiler/c2/Test7009359.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2010, 2013, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. --- 1,7 ---- /* ! * Copyright (c) 2010, 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 * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation.
*** 22,32 **** */ /** * @test * @bug 7009359 ! * @summary HS with -XX:+AggressiveOpts optimize new StringBuffer(null) so it does not throw NPE as expected * * @run main/othervm -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:+OptimizeStringConcat * -XX:CompileCommand=dontinline,compiler.c2.Test7009359::stringmakerBUG * compiler.c2.Test7009359 */ --- 22,32 ---- */ /** * @test * @bug 7009359 ! * @summary HS optimizes new StringBuffer(null) so it does not throw NPE as expected * * @run main/othervm -Xbatch -XX:+IgnoreUnrecognizedVMOptions -XX:+OptimizeStringConcat * -XX:CompileCommand=dontinline,compiler.c2.Test7009359::stringmakerBUG * compiler.c2.Test7009359 */
< prev index next >