JEP-349-branch: fixes to copyright headers JEP-349-branch
authormseledtsov
Tue, 10 Sep 2019 09:21:23 -0700
branchJEP-349-branch
changeset 58076 ca625d28c580
parent 58073 76d4428af8b6
child 58082 0c9dd7f5d23a
JEP-349-branch: fixes to copyright headers
test/hotspot/gtest/jfr/test_networkUtilization.cpp
test/hotspot/gtest/jfr/test_threadCpuLoad.cpp
test/jdk/jdk/jfr/api/consumer/TestReadTwice.java
test/jdk/jdk/jfr/api/consumer/TestRecordingFile.java
test/jdk/jdk/jfr/api/consumer/TestRecordingInternals.java
test/jdk/jdk/jfr/api/consumer/recordingstream/TestConstructor.java
test/jdk/jdk/jfr/api/consumer/recordingstream/TestOnEvent.java
test/jdk/jdk/jfr/api/consumer/recordingstream/TestOnFlush.java
test/jdk/jdk/jfr/api/consumer/recordingstream/TestRemove.java
test/jdk/jdk/jfr/api/consumer/recordingstream/TestSetEndTime.java
test/jdk/jdk/jfr/api/consumer/recordingstream/TestSetFlushInterval.java
test/jdk/jdk/jfr/api/consumer/recordingstream/TestSetMaxAge.java
test/jdk/jdk/jfr/api/consumer/recordingstream/TestSetMaxSize.java
test/jdk/jdk/jfr/api/consumer/recordingstream/TestSetSettings.java
test/jdk/jdk/jfr/api/consumer/recordingstream/TestSetStartTime.java
test/jdk/jdk/jfr/api/consumer/security/DriverRecordingDumper.java
test/jdk/jdk/jfr/api/consumer/security/TestMissingPermission.java
test/jdk/jdk/jfr/api/consumer/security/TestRecordingFile.java
test/jdk/jdk/jfr/api/consumer/security/TestRecordingStream.java
test/jdk/jdk/jfr/api/consumer/security/TestStreamingFile.java
test/jdk/jdk/jfr/api/consumer/security/TestStreamingLocal.java
test/jdk/jdk/jfr/api/consumer/security/TestStreamingRemote.java
test/jdk/jdk/jfr/api/consumer/streaming/TestFilledChunks.java
test/jdk/jdk/jfr/api/consumer/streaming/TestRepositoryMigration.java
test/jdk/jdk/jfr/api/consumer/streaming/TestStartMultiChunk.java
test/jdk/jdk/jfr/api/consumer/streaming/TestUnstarted.java
test/jdk/jdk/jfr/api/event/TestEventDuration.java
test/jdk/jdk/jfr/api/recording/time/TestSetFlushInterval.java
test/jdk/jdk/jfr/jcmd/TestJcmdStartFlushInterval.java
test/jdk/jdk/jfr/jvm/TestUnsupportedVM.java
test/jdk/jdk/jfr/startupargs/TestFlushInterval.java
--- a/test/hotspot/gtest/jfr/test_networkUtilization.cpp	Tue Sep 10 16:02:57 2019 +0200
+++ b/test/hotspot/gtest/jfr/test_networkUtilization.cpp	Tue Sep 10 09:21:23 2019 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2018, 2019, 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
--- a/test/hotspot/gtest/jfr/test_threadCpuLoad.cpp	Tue Sep 10 16:02:57 2019 +0200
+++ b/test/hotspot/gtest/jfr/test_threadCpuLoad.cpp	Tue Sep 10 09:21:23 2019 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2017, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2017, 2019, 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
--- a/test/jdk/jdk/jfr/api/consumer/TestReadTwice.java	Tue Sep 10 16:02:57 2019 +0200
+++ b/test/jdk/jdk/jfr/api/consumer/TestReadTwice.java	Tue Sep 10 09:21:23 2019 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2018, 2019, 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
--- a/test/jdk/jdk/jfr/api/consumer/TestRecordingFile.java	Tue Sep 10 16:02:57 2019 +0200
+++ b/test/jdk/jdk/jfr/api/consumer/TestRecordingFile.java	Tue Sep 10 09:21:23 2019 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2018, 2019, 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
--- a/test/jdk/jdk/jfr/api/consumer/TestRecordingInternals.java	Tue Sep 10 16:02:57 2019 +0200
+++ b/test/jdk/jdk/jfr/api/consumer/TestRecordingInternals.java	Tue Sep 10 09:21:23 2019 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2019, 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
--- a/test/jdk/jdk/jfr/api/consumer/recordingstream/TestConstructor.java	Tue Sep 10 16:02:57 2019 +0200
+++ b/test/jdk/jdk/jfr/api/consumer/recordingstream/TestConstructor.java	Tue Sep 10 09:21:23 2019 -0700
@@ -22,6 +22,7 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
+
 package jdk.jfr.api.consumer.recordingstream;
 
 import java.util.concurrent.CountDownLatch;
--- a/test/jdk/jdk/jfr/api/consumer/recordingstream/TestOnEvent.java	Tue Sep 10 16:02:57 2019 +0200
+++ b/test/jdk/jdk/jfr/api/consumer/recordingstream/TestOnEvent.java	Tue Sep 10 09:21:23 2019 -0700
@@ -22,6 +22,7 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
+
 package jdk.jfr.api.consumer.recordingstream;
 
 import java.util.concurrent.CountDownLatch;
--- a/test/jdk/jdk/jfr/api/consumer/recordingstream/TestOnFlush.java	Tue Sep 10 16:02:57 2019 +0200
+++ b/test/jdk/jdk/jfr/api/consumer/recordingstream/TestOnFlush.java	Tue Sep 10 09:21:23 2019 -0700
@@ -22,6 +22,7 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
+
 package jdk.jfr.api.consumer.recordingstream;
 
 import java.util.concurrent.CountDownLatch;
--- a/test/jdk/jdk/jfr/api/consumer/recordingstream/TestRemove.java	Tue Sep 10 16:02:57 2019 +0200
+++ b/test/jdk/jdk/jfr/api/consumer/recordingstream/TestRemove.java	Tue Sep 10 09:21:23 2019 -0700
@@ -22,6 +22,7 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
+
 package jdk.jfr.api.consumer.recordingstream;
 
 import java.util.concurrent.CountDownLatch;
@@ -133,4 +134,4 @@
             }
         }
     }
-}
\ No newline at end of file
+}
--- a/test/jdk/jdk/jfr/api/consumer/recordingstream/TestSetEndTime.java	Tue Sep 10 16:02:57 2019 +0200
+++ b/test/jdk/jdk/jfr/api/consumer/recordingstream/TestSetEndTime.java	Tue Sep 10 09:21:23 2019 -0700
@@ -22,6 +22,7 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
+
 package jdk.jfr.api.consumer.recordingstream;
 
 import java.nio.file.Path;
@@ -119,4 +120,4 @@
         while (Instant.now().equals(now)) {
         }
     }
-}
\ No newline at end of file
+}
--- a/test/jdk/jdk/jfr/api/consumer/recordingstream/TestSetFlushInterval.java	Tue Sep 10 16:02:57 2019 +0200
+++ b/test/jdk/jdk/jfr/api/consumer/recordingstream/TestSetFlushInterval.java	Tue Sep 10 09:21:23 2019 -0700
@@ -22,6 +22,7 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
+
 package jdk.jfr.api.consumer.recordingstream;
 
 import java.time.Duration;
@@ -57,4 +58,4 @@
             r.start();
         }
     }
-}
\ No newline at end of file
+}
--- a/test/jdk/jdk/jfr/api/consumer/recordingstream/TestSetMaxAge.java	Tue Sep 10 16:02:57 2019 +0200
+++ b/test/jdk/jdk/jfr/api/consumer/recordingstream/TestSetMaxAge.java	Tue Sep 10 09:21:23 2019 -0700
@@ -22,6 +22,7 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
+
 package jdk.jfr.api.consumer.recordingstream;
 
 import java.time.Duration;
@@ -56,4 +57,4 @@
             r.start();
         }
     }
-}
\ No newline at end of file
+}
--- a/test/jdk/jdk/jfr/api/consumer/recordingstream/TestSetMaxSize.java	Tue Sep 10 16:02:57 2019 +0200
+++ b/test/jdk/jdk/jfr/api/consumer/recordingstream/TestSetMaxSize.java	Tue Sep 10 09:21:23 2019 -0700
@@ -22,6 +22,7 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
+
 package jdk.jfr.api.consumer.recordingstream;
 
 import jdk.jfr.consumer.RecordingStream;
@@ -54,4 +55,4 @@
            r.start();
        }
    }
-}
\ No newline at end of file
+}
--- a/test/jdk/jdk/jfr/api/consumer/recordingstream/TestSetSettings.java	Tue Sep 10 16:02:57 2019 +0200
+++ b/test/jdk/jdk/jfr/api/consumer/recordingstream/TestSetSettings.java	Tue Sep 10 09:21:23 2019 -0700
@@ -22,6 +22,7 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
+
 package jdk.jfr.api.consumer.recordingstream;
 
 import java.util.HashMap;
@@ -61,4 +62,4 @@
             lateBloomer.await();
         }
     }
-}
\ No newline at end of file
+}
--- a/test/jdk/jdk/jfr/api/consumer/recordingstream/TestSetStartTime.java	Tue Sep 10 16:02:57 2019 +0200
+++ b/test/jdk/jdk/jfr/api/consumer/recordingstream/TestSetStartTime.java	Tue Sep 10 09:21:23 2019 -0700
@@ -22,6 +22,7 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
+
 package jdk.jfr.api.consumer.recordingstream;
 
 import java.time.Duration;
@@ -84,4 +85,4 @@
             }
         }
     }
-}
\ No newline at end of file
+}
--- a/test/jdk/jdk/jfr/api/consumer/security/DriverRecordingDumper.java	Tue Sep 10 16:02:57 2019 +0200
+++ b/test/jdk/jdk/jfr/api/consumer/security/DriverRecordingDumper.java	Tue Sep 10 09:21:23 2019 -0700
@@ -22,6 +22,7 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
+
 package jdk.jfr.api.consumer.security;
 
 import java.nio.file.Paths;
@@ -45,4 +46,4 @@
             r.dump(Paths.get(args[0]));
         }
     }
-}
\ No newline at end of file
+}
--- a/test/jdk/jdk/jfr/api/consumer/security/TestMissingPermission.java	Tue Sep 10 16:02:57 2019 +0200
+++ b/test/jdk/jdk/jfr/api/consumer/security/TestMissingPermission.java	Tue Sep 10 09:21:23 2019 -0700
@@ -22,6 +22,7 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
+
 package jdk.jfr.api.consumer.security;
 
 import java.io.IOException;
--- a/test/jdk/jdk/jfr/api/consumer/security/TestRecordingFile.java	Tue Sep 10 16:02:57 2019 +0200
+++ b/test/jdk/jdk/jfr/api/consumer/security/TestRecordingFile.java	Tue Sep 10 09:21:23 2019 -0700
@@ -22,6 +22,7 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
+
 package jdk.jfr.api.consumer.security;
 
 import java.nio.file.Paths;
--- a/test/jdk/jdk/jfr/api/consumer/security/TestRecordingStream.java	Tue Sep 10 16:02:57 2019 +0200
+++ b/test/jdk/jdk/jfr/api/consumer/security/TestRecordingStream.java	Tue Sep 10 09:21:23 2019 -0700
@@ -22,6 +22,7 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
+
 package jdk.jfr.api.consumer.security;
 
 import java.time.Instant;
--- a/test/jdk/jdk/jfr/api/consumer/security/TestStreamingFile.java	Tue Sep 10 16:02:57 2019 +0200
+++ b/test/jdk/jdk/jfr/api/consumer/security/TestStreamingFile.java	Tue Sep 10 09:21:23 2019 -0700
@@ -22,6 +22,7 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
+
 package jdk.jfr.api.consumer.security;
 
 import java.nio.file.Paths;
--- a/test/jdk/jdk/jfr/api/consumer/security/TestStreamingLocal.java	Tue Sep 10 16:02:57 2019 +0200
+++ b/test/jdk/jdk/jfr/api/consumer/security/TestStreamingLocal.java	Tue Sep 10 09:21:23 2019 -0700
@@ -22,6 +22,7 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
+
 package jdk.jfr.api.consumer.security;
 
 import java.time.Instant;
--- a/test/jdk/jdk/jfr/api/consumer/security/TestStreamingRemote.java	Tue Sep 10 16:02:57 2019 +0200
+++ b/test/jdk/jdk/jfr/api/consumer/security/TestStreamingRemote.java	Tue Sep 10 09:21:23 2019 -0700
@@ -22,6 +22,7 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
+
 package jdk.jfr.api.consumer.security;
 
 import java.io.File;
--- a/test/jdk/jdk/jfr/api/consumer/streaming/TestFilledChunks.java	Tue Sep 10 16:02:57 2019 +0200
+++ b/test/jdk/jdk/jfr/api/consumer/streaming/TestFilledChunks.java	Tue Sep 10 09:21:23 2019 -0700
@@ -22,6 +22,7 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
+
 package jdk.jfr.api.consumer.streaming;
 
 import java.util.Random;
--- a/test/jdk/jdk/jfr/api/consumer/streaming/TestRepositoryMigration.java	Tue Sep 10 16:02:57 2019 +0200
+++ b/test/jdk/jdk/jfr/api/consumer/streaming/TestRepositoryMigration.java	Tue Sep 10 09:21:23 2019 -0700
@@ -1,3 +1,28 @@
+/*
+ * Copyright (c) 2019, 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.  Oracle designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Oracle in the LICENSE file that accompanied this code.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
 package jdk.jfr.api.consumer.streaming;
 
 import java.nio.file.Files;
--- a/test/jdk/jdk/jfr/api/consumer/streaming/TestStartMultiChunk.java	Tue Sep 10 16:02:57 2019 +0200
+++ b/test/jdk/jdk/jfr/api/consumer/streaming/TestStartMultiChunk.java	Tue Sep 10 09:21:23 2019 -0700
@@ -22,6 +22,7 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  */
+
 package jdk.jfr.api.consumer.streaming;
 
 import java.util.concurrent.CountDownLatch;
--- a/test/jdk/jdk/jfr/api/consumer/streaming/TestUnstarted.java	Tue Sep 10 16:02:57 2019 +0200
+++ b/test/jdk/jdk/jfr/api/consumer/streaming/TestUnstarted.java	Tue Sep 10 09:21:23 2019 -0700
@@ -1,10 +1,35 @@
+/*
+ * Copyright (c) 2019, 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.  Oracle designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Oracle in the LICENSE file that accompanied this code.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
 package jdk.jfr.api.consumer.streaming;
 
 import jdk.jfr.consumer.EventStream;
 
 /**
  * @test
- * @summary Verifies that is possible to open a stream when a repository doesn't
+ * @summary Verifies that it is possible to open a stream when a repository doesn't
  *          exists
  * @key jfr
  * @requires vm.hasJFR
--- a/test/jdk/jdk/jfr/api/event/TestEventDuration.java	Tue Sep 10 16:02:57 2019 +0200
+++ b/test/jdk/jdk/jfr/api/event/TestEventDuration.java	Tue Sep 10 09:21:23 2019 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2016, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2019, 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
--- a/test/jdk/jdk/jfr/api/recording/time/TestSetFlushInterval.java	Tue Sep 10 16:02:57 2019 +0200
+++ b/test/jdk/jdk/jfr/api/recording/time/TestSetFlushInterval.java	Tue Sep 10 09:21:23 2019 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2019, 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
--- a/test/jdk/jdk/jfr/jcmd/TestJcmdStartFlushInterval.java	Tue Sep 10 16:02:57 2019 +0200
+++ b/test/jdk/jdk/jfr/jcmd/TestJcmdStartFlushInterval.java	Tue Sep 10 09:21:23 2019 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2015, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2019, 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
--- a/test/jdk/jdk/jfr/jvm/TestUnsupportedVM.java	Tue Sep 10 16:02:57 2019 +0200
+++ b/test/jdk/jdk/jfr/jvm/TestUnsupportedVM.java	Tue Sep 10 09:21:23 2019 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2014, 2019, 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
--- a/test/jdk/jdk/jfr/startupargs/TestFlushInterval.java	Tue Sep 10 16:02:57 2019 +0200
+++ b/test/jdk/jdk/jfr/startupargs/TestFlushInterval.java	Tue Sep 10 09:21:23 2019 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2013, 2018, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2019, 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