PhaseOverflow.java revision 3984
3387N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 3387N/A * This code is free software; you can redistribute it and/or modify it 3387N/A * under the terms of the GNU General Public License version 2 only, as 3387N/A * published by the Free Software Foundation. 3387N/A * This code is distributed in the hope that it will be useful, but WITHOUT 3387N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 3387N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 3387N/A * version 2 for more details (a copy is included in the LICENSE file that 3387N/A * You should have received a copy of the GNU General Public License version 3387N/A * 2 along with this work; if not, write to the Free Software Foundation, 3387N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 3387N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 3387N/A * or visit www.oracle.com if you need additional information or have any 3387N/A * This file is available under and governed by the GNU General Public 3387N/A * License version 2 only, as published by the Free Software Foundation. 3387N/A * However, the following notice accompanied the original version of this 3387N/A * Written by Martin Buchholz and Doug Lea with assistance from 3387N/A * members of JCP JSR-166 Expert Group and released to the public 3387N/A * @summary Test Phaser phase integer overflow behavior 3387N/A // this is extremely dependent on internal representation 3387N/A // this is extremely dependent on internal representation 3387N/A for (
int k =
0; k <
5; k++) {
3387N/A for (
int k =
0; k <
5; k++) {
3387N/A //--------------------- Infrastructure ---------------------------