8065054: Some tests have junk before the legal header

Reviewed-by: darcy
This commit is contained in:
Jonathan Gibbons 2014-11-20 14:23:31 -08:00
parent 60113dc1ba
commit 56e39629eb
7 changed files with 7 additions and 15 deletions

View File

@ -1,8 +1,3 @@
import java.io.PrintWriter;
import java.io.StringWriter;
import java.nio.file.Paths;
/*
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -32,6 +27,10 @@ import java.nio.file.Paths;
* @summary Empty try/finally results in bytecodes being generated
*/
import java.io.PrintWriter;
import java.io.StringWriter;
import java.nio.file.Paths;
public class EmptyFinallyTest {
private static final String assertionErrorMsg =
"No \"Exception table\" should be generated in this case";

View File

@ -1,4 +1,3 @@
/*
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.

View File

@ -1,4 +1,3 @@
/*
* Copyright (c) 2005, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.

View File

@ -1,5 +1,3 @@
import java.lang.annotation.ElementType;
/*
* Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.

View File

@ -1,4 +1,3 @@
/*
* Copyright (c) 2008, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.

View File

@ -1,7 +1,3 @@
import java.io.PrintWriter;
import java.io.StringWriter;
/*
* Copyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
@ -31,6 +27,9 @@ import java.io.StringWriter;
* @summary extra space in javac -help for -J and @ options
*/
import java.io.PrintWriter;
import java.io.StringWriter;
public class Option_J_At_Test {
public static void main(String... args) throws Exception {
new Option_J_At_Test().run();

View File

@ -1,4 +1,3 @@
/*
* Copyright (c) 2009, 2010, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.