< prev index next >

langtools/test/tools/javac/6330997/T6330997.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2006, 2016, 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) 2006, 2017, 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.
*** 21,41 **** * questions. */ /** * @test ! * @bug 6330997 7025789 8000961 * @summary javac should accept class files with major version of the next release * @author Wei Tao * @modules jdk.compiler/com.sun.tools.javac.api * jdk.compiler/com.sun.tools.javac.code * jdk.compiler/com.sun.tools.javac.comp * jdk.compiler/com.sun.tools.javac.main * jdk.compiler/com.sun.tools.javac.util * @clean T1 T2 ! * @compile -source 9 -target 9 T1.java ! * @compile -source 9 -target 9 T2.java * @run main/othervm T6330997 */ import java.nio.*; import java.io.*; --- 21,41 ---- * questions. */ /** * @test ! * @bug 6330997 7025789 8000961 8187296 * @summary javac should accept class files with major version of the next release * @author Wei Tao * @modules jdk.compiler/com.sun.tools.javac.api * jdk.compiler/com.sun.tools.javac.code * jdk.compiler/com.sun.tools.javac.comp * jdk.compiler/com.sun.tools.javac.main * jdk.compiler/com.sun.tools.javac.util * @clean T1 T2 ! * @compile -source 11 -target 11 T1.java ! * @compile -source 11 -target 11 T2.java * @run main/othervm T6330997 */ import java.nio.*; import java.io.*;
< prev index next >