5598N/A * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. 5598N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 5598N/A * This code is free software; you can redistribute it and/or modify it 5598N/A * under the terms of the GNU General Public License version 2 only, as 5598N/A * published by the Free Software Foundation. 5598N/A * This code is distributed in the hope that it will be useful, but WITHOUT 5598N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 5598N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 5598N/A * version 2 for more details (a copy is included in the LICENSE file that 5598N/A * You should have received a copy of the GNU General Public License version 5598N/A * 2 along with this work; if not, write to the Free Software Foundation, 5598N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 5598N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 5598N/A * or visit www.oracle.com if you need additional information or have any 5598N/A * @summary (bf) CharBuffer.slice() on wrapped CharSequence results in wrong position 5598N/A ">>> StringCharBufferSliceTest-main: testing the slice method...");
5598N/A ">>> StringCharBufferSliceTest-main: testing with the position 0.");
5598N/A ">>> StringCharBufferSliceTest-main: testing with new position.");
5598N/A ">>> StringCharBufferSliceTest-main: testing with non zero initial position.");
5598N/A ">>> StringCharBufferSliceTest-main: testing slice result with get()");
5598N/A for (
int i =
0; i <
3; i++) {
5598N/A ">>> StringCharBufferSliceTest-main: testing slice result with get(int)");
5598N/A for (
int i =
0; i <
3; i++) {
5598N/A ">>> StringCharBufferSliceTest-main: testing slice with result of slice");
5598N/A ">>> StringCharBufferSliceTest-main: testing toString.");
5598N/A ">>> StringCharBufferSliceTest-main: testing subSequence.");
">>> StringCharBufferSliceTest-main: testing duplicate.");
"Calling the CharBuffer.slice method failed.");