common/bin/hide_important_warnings_from_javac.sh

Tue, 13 Aug 2019 14:32:20 +0300

author
apetushkov
date
Tue, 13 Aug 2019 14:32:20 +0300
changeset 2504
e86abea74e04
parent 494
e64f2cb57d05
child 1133
50aaf272884f
permissions
-rw-r--r--

8223147: JFR Backport
8199712: Flight Recorder
8203346: JFR: Inconsistent signature of jfr_add_string_constant
8195817: JFR.stop should require name of recording
8195818: JFR.start should increase autogenerated name by one
8195819: Remove recording=x from jcmd JFR.check output
8203921: JFR thread sampling is missing fixes from JDK-8194552
8203929: Limit amount of data for JFR.dump
8203664: JFR start failure after AppCDS archive created with JFR StartFlightRecording
8003209: JFR events for network utilization
8207392: [PPC64] Implement JFR profiling
Summary: Backport JFR from JDK11. Initial integration
Reviewed-by: neugens

ohair@494 1 #!/bin/bash
ohair@425 2 #
ohair@425 3 # Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved.
ohair@425 4 # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
ohair@425 5 #
ohair@425 6 # This code is free software; you can redistribute it and/or modify it
ohair@425 7 # under the terms of the GNU General Public License version 2 only, as
ohair@425 8 # published by the Free Software Foundation.
ohair@425 9 #
ohair@425 10 # This code is distributed in the hope that it will be useful, but WITHOUT
ohair@425 11 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
ohair@425 12 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
ohair@425 13 # version 2 for more details (a copy is included in the LICENSE file that
ohair@425 14 # accompanied this code).
ohair@425 15 #
ohair@425 16 # You should have received a copy of the GNU General Public License version
ohair@425 17 # 2 along with this work; if not, write to the Free Software Foundation,
ohair@425 18 # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
ohair@425 19 #
ohair@425 20 # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
ohair@425 21 # or visit www.oracle.com if you need additional information or have any
ohair@425 22 # questions.
ohair@425 23 #
ohair@425 24
ohair@425 25 if [ -x /usr/bin/ggrep ] ; then
ohair@425 26 # Gnu grep on Solaris
ohair@425 27 # (reference configure and build/solaris-i586-clientANDserver-release/spec.gmk
ohair@425 28 GREP=/usr/bin/ggrep
ohair@425 29 else
ohair@425 30 GREP=grep
ohair@425 31 fi
ohair@425 32 #
ohair@425 33 EXP="Note: Some input files use or override a deprecated API."
ohair@425 34 EXP="${EXP}|Note: Recompile with -Xlint:deprecation for details."
ohair@425 35 EXP="${EXP}|Note: Some input files use unchecked or unsafe operations."
ohair@425 36 EXP="${EXP}|Note: Recompile with -Xlint:unchecked for details."
ohair@425 37 EXP="${EXP}| warning"
ohair@425 38 EXP="${EXP}|uses or overrides a deprecated API."
ohair@425 39 EXP="${EXP}|uses unchecked or unsafe operations."
ohair@425 40 #
ohair@425 41 ${GREP} --line-buffered -v -E "${EXP}"

mercurial