# HG changeset patch # User mseledtsov # Date 1568132483 25200 # Node ID ca625d28c580e628fb95ac5d5c2fb3dd1c00c89e # Parent 76d4428af8b65bcf26ded3511e1f3c1838c9105b JEP-349-branch: fixes to copyright headers diff -r 76d4428af8b6 -r ca625d28c580 test/hotspot/gtest/jfr/test_networkUtilization.cpp --- 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 diff -r 76d4428af8b6 -r ca625d28c580 test/hotspot/gtest/jfr/test_threadCpuLoad.cpp --- 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 diff -r 76d4428af8b6 -r ca625d28c580 test/jdk/jdk/jfr/api/consumer/TestReadTwice.java --- 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 diff -r 76d4428af8b6 -r ca625d28c580 test/jdk/jdk/jfr/api/consumer/TestRecordingFile.java --- 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 diff -r 76d4428af8b6 -r ca625d28c580 test/jdk/jdk/jfr/api/consumer/TestRecordingInternals.java --- 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 diff -r 76d4428af8b6 -r ca625d28c580 test/jdk/jdk/jfr/api/consumer/recordingstream/TestConstructor.java --- 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; diff -r 76d4428af8b6 -r ca625d28c580 test/jdk/jdk/jfr/api/consumer/recordingstream/TestOnEvent.java --- 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; diff -r 76d4428af8b6 -r ca625d28c580 test/jdk/jdk/jfr/api/consumer/recordingstream/TestOnFlush.java --- 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; diff -r 76d4428af8b6 -r ca625d28c580 test/jdk/jdk/jfr/api/consumer/recordingstream/TestRemove.java --- 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 +} diff -r 76d4428af8b6 -r ca625d28c580 test/jdk/jdk/jfr/api/consumer/recordingstream/TestSetEndTime.java --- 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 +} diff -r 76d4428af8b6 -r ca625d28c580 test/jdk/jdk/jfr/api/consumer/recordingstream/TestSetFlushInterval.java --- 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 +} diff -r 76d4428af8b6 -r ca625d28c580 test/jdk/jdk/jfr/api/consumer/recordingstream/TestSetMaxAge.java --- 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 +} diff -r 76d4428af8b6 -r ca625d28c580 test/jdk/jdk/jfr/api/consumer/recordingstream/TestSetMaxSize.java --- 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 +} diff -r 76d4428af8b6 -r ca625d28c580 test/jdk/jdk/jfr/api/consumer/recordingstream/TestSetSettings.java --- 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 +} diff -r 76d4428af8b6 -r ca625d28c580 test/jdk/jdk/jfr/api/consumer/recordingstream/TestSetStartTime.java --- 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 +} diff -r 76d4428af8b6 -r ca625d28c580 test/jdk/jdk/jfr/api/consumer/security/DriverRecordingDumper.java --- 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 +} diff -r 76d4428af8b6 -r ca625d28c580 test/jdk/jdk/jfr/api/consumer/security/TestMissingPermission.java --- 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; diff -r 76d4428af8b6 -r ca625d28c580 test/jdk/jdk/jfr/api/consumer/security/TestRecordingFile.java --- 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; diff -r 76d4428af8b6 -r ca625d28c580 test/jdk/jdk/jfr/api/consumer/security/TestRecordingStream.java --- 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; diff -r 76d4428af8b6 -r ca625d28c580 test/jdk/jdk/jfr/api/consumer/security/TestStreamingFile.java --- 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; diff -r 76d4428af8b6 -r ca625d28c580 test/jdk/jdk/jfr/api/consumer/security/TestStreamingLocal.java --- 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; diff -r 76d4428af8b6 -r ca625d28c580 test/jdk/jdk/jfr/api/consumer/security/TestStreamingRemote.java --- 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; diff -r 76d4428af8b6 -r ca625d28c580 test/jdk/jdk/jfr/api/consumer/streaming/TestFilledChunks.java --- 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; diff -r 76d4428af8b6 -r ca625d28c580 test/jdk/jdk/jfr/api/consumer/streaming/TestRepositoryMigration.java --- 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; diff -r 76d4428af8b6 -r ca625d28c580 test/jdk/jdk/jfr/api/consumer/streaming/TestStartMultiChunk.java --- 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; diff -r 76d4428af8b6 -r ca625d28c580 test/jdk/jdk/jfr/api/consumer/streaming/TestUnstarted.java --- 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 diff -r 76d4428af8b6 -r ca625d28c580 test/jdk/jdk/jfr/api/event/TestEventDuration.java --- 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 diff -r 76d4428af8b6 -r ca625d28c580 test/jdk/jdk/jfr/api/recording/time/TestSetFlushInterval.java --- 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 diff -r 76d4428af8b6 -r ca625d28c580 test/jdk/jdk/jfr/jcmd/TestJcmdStartFlushInterval.java --- 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 diff -r 76d4428af8b6 -r ca625d28c580 test/jdk/jdk/jfr/jvm/TestUnsupportedVM.java --- 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 diff -r 76d4428af8b6 -r ca625d28c580 test/jdk/jdk/jfr/startupargs/TestFlushInterval.java --- 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