c4.java revision 12723:afedee84773e
155505Sshin/* 255505Sshin * Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved. 355505Sshin * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 455505Sshin * 555505Sshin * This code is free software; you can redistribute it and/or modify it 655505Sshin * under the terms of the GNU General Public License version 2 only, as 755505Sshin * published by the Free Software Foundation. 855505Sshin * 955505Sshin * This code is distributed in the hope that it will be useful, but WITHOUT 1055505Sshin * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 1155505Sshin * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 1255505Sshin * version 2 for more details (a copy is included in the LICENSE file that 1355505Sshin * accompanied this code). 1455505Sshin * 1555505Sshin * You should have received a copy of the GNU General Public License version 1655505Sshin * 2 along with this work; if not, write to the Free Software Foundation, 1755505Sshin * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 1855505Sshin * 1955505Sshin * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 2055505Sshin * or visit www.oracle.com if you need additional information or have any 2155505Sshin * questions. 2255505Sshin */ 2355505Sshin 2455505Sshin// Small class used by multiple hotspot/runtime/modules/AccessCheck/* tests. 2555505Sshin 2655505Sshinpackage p4; 2755505Sshin 2855505Sshinpublic class c4 { 2955505Sshin // Add a read edge from c4's module to given module m 3055505Sshin public void addReads(Module m) { 3155505Sshin c4.class.getModule().addReads(m); 3255505Sshin } 3355505Sshin} 3455505Sshin