Load2.java revision 2362
4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3jacobs * Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved.
4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3jacobs * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3jacobs * This code is free software; you can redistribute it and/or modify it
4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3jacobs * under the terms of the GNU General Public License version 2 only, as
4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3jacobs * published by the Free Software Foundation. Oracle designates this
4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3jacobs * particular file as subject to the "Classpath" exception as provided
4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3jacobs * by Oracle in the LICENSE file that accompanied this code.
4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3jacobs * This code is distributed in the hope that it will be useful, but WITHOUT
4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3jacobs * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3jacobs * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3jacobs * version 2 for more details (a copy is included in the LICENSE file that
4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3jacobs * accompanied this code).
4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3jacobs * You should have received a copy of the GNU General Public License version
4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3jacobs * 2 along with this work; if not, write to the Free Software Foundation,
4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3jacobs * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3jacobs * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3jacobs * or visit www.oracle.com if you need additional information or have any
4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3jacobs * questions.
4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3jacobs @summary Test SoftTuning load method */
4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3jacobspublic class Load2 {
4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3jacobs private static void assertEquals(Object a, Object b) throws Exception
4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3jacobs private static void assertTrue(boolean value) throws Exception
4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3jacobs public static void main(String[] args) throws Exception {
4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3jacobs // 0x02 SINGLE NOTE TUNING CHANGE (REAL-TIME)
4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3jacobs if(i == 36)
4e9cfc9a015e8ca7d41f7d018c74dc8a692305b3jacobs else if(i == 40)