test/tools/javac/generics/T5094318.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2004, 2007, 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) 2004, 2014, 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.
*** 24,35 **** /* * @test * @bug 5094318 * @summary REGRESSION: Array cloning is not backwards compatible * - * @compile -source 1.4 T5094318.java - * @run main T5094318 * @compile T5094318.java * @run main/fail T5094318 */ public class T5094318 { --- 24,33 ----