test/langtools/tools/jdeps/unsupported/Bar.java
author egahlin
Mon, 25 Nov 2019 14:06:13 +0100
changeset 59246 fcad92f425c5
parent 47216 71c04702a3d5
permissions -rw-r--r--
8234703: JFR TestOutOfProcessMigration.java should clean up files Reviewed-by: mgronlun
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
37008
55c73d04e57c 8153737: Unsupported Module
chegar
parents:
diff changeset
     1
/*
55c73d04e57c 8153737: Unsupported Module
chegar
parents:
diff changeset
     2
 * Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
55c73d04e57c 8153737: Unsupported Module
chegar
parents:
diff changeset
     3
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
55c73d04e57c 8153737: Unsupported Module
chegar
parents:
diff changeset
     4
 *
55c73d04e57c 8153737: Unsupported Module
chegar
parents:
diff changeset
     5
 * This code is free software; you can redistribute it and/or modify it
55c73d04e57c 8153737: Unsupported Module
chegar
parents:
diff changeset
     6
 * under the terms of the GNU General Public License version 2 only, as
55c73d04e57c 8153737: Unsupported Module
chegar
parents:
diff changeset
     7
 * published by the Free Software Foundation.
55c73d04e57c 8153737: Unsupported Module
chegar
parents:
diff changeset
     8
 *
55c73d04e57c 8153737: Unsupported Module
chegar
parents:
diff changeset
     9
 * This code is distributed in the hope that it will be useful, but WITHOUT
55c73d04e57c 8153737: Unsupported Module
chegar
parents:
diff changeset
    10
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
55c73d04e57c 8153737: Unsupported Module
chegar
parents:
diff changeset
    11
 * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
55c73d04e57c 8153737: Unsupported Module
chegar
parents:
diff changeset
    12
 * version 2 for more details (a copy is included in the LICENSE file that
55c73d04e57c 8153737: Unsupported Module
chegar
parents:
diff changeset
    13
 * accompanied this code).
55c73d04e57c 8153737: Unsupported Module
chegar
parents:
diff changeset
    14
 *
55c73d04e57c 8153737: Unsupported Module
chegar
parents:
diff changeset
    15
 * You should have received a copy of the GNU General Public License version
55c73d04e57c 8153737: Unsupported Module
chegar
parents:
diff changeset
    16
 * 2 along with this work; if not, write to the Free Software Foundation,
55c73d04e57c 8153737: Unsupported Module
chegar
parents:
diff changeset
    17
 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
55c73d04e57c 8153737: Unsupported Module
chegar
parents:
diff changeset
    18
 *
55c73d04e57c 8153737: Unsupported Module
chegar
parents:
diff changeset
    19
 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
55c73d04e57c 8153737: Unsupported Module
chegar
parents:
diff changeset
    20
 * or visit www.oracle.com if you need additional information or have any
55c73d04e57c 8153737: Unsupported Module
chegar
parents:
diff changeset
    21
 * questions.
55c73d04e57c 8153737: Unsupported Module
chegar
parents:
diff changeset
    22
 */
55c73d04e57c 8153737: Unsupported Module
chegar
parents:
diff changeset
    23
55c73d04e57c 8153737: Unsupported Module
chegar
parents:
diff changeset
    24
import sun.misc.Unsafe;
55c73d04e57c 8153737: Unsupported Module
chegar
parents:
diff changeset
    25
55c73d04e57c 8153737: Unsupported Module
chegar
parents:
diff changeset
    26
public class Bar {
55c73d04e57c 8153737: Unsupported Module
chegar
parents:
diff changeset
    27
    public void run() {
55c73d04e57c 8153737: Unsupported Module
chegar
parents:
diff changeset
    28
        Unsafe unsafe = Unsafe.getUnsafe();
55c73d04e57c 8153737: Unsupported Module
chegar
parents:
diff changeset
    29
    }
55c73d04e57c 8153737: Unsupported Module
chegar
parents:
diff changeset
    30
55c73d04e57c 8153737: Unsupported Module
chegar
parents:
diff changeset
    31
}