equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2005, 2015, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
25 * @test |
25 * @test |
26 * @bug 6728697 |
26 * @bug 6728697 |
27 * @summary tools/javac/versionOpt.sh fails on OpenJDK builds |
27 * @summary tools/javac/versionOpt.sh fails on OpenJDK builds |
28 * Test checks the version strings displayed by javac, using |
28 * Test checks the version strings displayed by javac, using |
29 * strings that come out of the Java runtime. |
29 * strings that come out of the Java runtime. |
|
30 * @modules jdk.compiler |
30 */ |
31 */ |
31 |
32 |
32 import java.io.File; |
33 import java.io.File; |
33 import java.io.PrintWriter; |
34 import java.io.PrintWriter; |
34 import java.io.StringWriter; |
35 import java.io.StringWriter; |