< prev index next >

test/tools/launcher/UnicodeTest.java

Print this page




   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /*
  25  * @test
  26  * @bug 5030265


  27  * @compile  -XDignore.symbol.file UnicodeTest.java
  28  * @run main/othervm UnicodeTest
  29  * @summary Verify that the J2RE can handle all legal Unicode characters
  30  *          in class names unless limited by the file system encoding
  31  *          or the encoding used for command line arguments.
  32  * @author Norbert Lindenberg, ksrini
  33  */
  34 
  35 /*
  36  * This class creates Java source files using Unicode characters
  37  * that test the limits of what's possible
  38  * - in situations where the platform encoding imposes limits
  39  *   (command line arguments, non-Unicode file system)
  40  * - in situations where full Unicode is supported
  41  *   (file system access in UTF-8 locales and on Windows 2000++,
  42  *    jar file contents)
  43  *
  44  * This test needs to be run in othervm as the locale is reset.
  45  */
  46 




   7  * published by the Free Software Foundation.
   8  *
   9  * This code is distributed in the hope that it will be useful, but WITHOUT
  10  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  11  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  12  * version 2 for more details (a copy is included in the LICENSE file that
  13  * accompanied this code).
  14  *
  15  * You should have received a copy of the GNU General Public License version
  16  * 2 along with this work; if not, write to the Free Software Foundation,
  17  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  18  *
  19  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20  * or visit www.oracle.com if you need additional information or have any
  21  * questions.
  22  */
  23 
  24 /*
  25  * @test
  26  * @bug 5030265
  27  * @modules jdk.compiler
  28  *          jdk.zipfs
  29  * @compile  -XDignore.symbol.file UnicodeTest.java
  30  * @run main/othervm UnicodeTest
  31  * @summary Verify that the J2RE can handle all legal Unicode characters
  32  *          in class names unless limited by the file system encoding
  33  *          or the encoding used for command line arguments.
  34  * @author Norbert Lindenberg, ksrini
  35  */
  36 
  37 /*
  38  * This class creates Java source files using Unicode characters
  39  * that test the limits of what's possible
  40  * - in situations where the platform encoding imposes limits
  41  *   (command line arguments, non-Unicode file system)
  42  * - in situations where full Unicode is supported
  43  *   (file system access in UTF-8 locales and on Windows 2000++,
  44  *    jar file contents)
  45  *
  46  * This test needs to be run in othervm as the locale is reset.
  47  */
  48 


< prev index next >