mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 02:54:35 +02:00
8006212: javac, convert jtreg tests from shell script to java
Reviewed-by: jjg
This commit is contained in:
parent
6e097b8776
commit
68a3295c8b
88 changed files with 2675 additions and 3237 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2003, 2004, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -21,12 +21,20 @@
|
|||
* questions.
|
||||
*/
|
||||
|
||||
/*
|
||||
* @test
|
||||
* @bug 4914724 4973116 5014511
|
||||
* @summary Ensure that a supplementary character can be used as part/whole of a
|
||||
* class name on platforms that have Unicode aware filesystems.
|
||||
* @run main SupplementaryJavaID6
|
||||
*/
|
||||
|
||||
public class SupplementaryJavaID6 {
|
||||
public static void main(String[] s) {
|
||||
new SupplementaryJavaID6();
|
||||
new SupplementaryJavaID6().test();
|
||||
}
|
||||
|
||||
public SupplementaryJavaID6() {
|
||||
void test() {
|
||||
\ud801\udc00 instance = new \ud801\udc00();
|
||||
instance.\ud801\udc01();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue