< prev index next >

test/sun/util/locale/provider/Bug8038436.java

Print this page




   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 8038436
  27  * @summary Test for changes in 8038436


  28  * @compile -XDignore.symbol.file Bug8038436.java
  29  * @run main/othervm Bug8038436 -Djava.ext.dirs=foo security
  30  * @run main/othervm Bug8038436 -Djava.locale.providers=JRE availlocs
  31  */
  32 
  33 import java.security.*;
  34 import java.text.*;
  35 import java.util.*;
  36 import java.util.stream.*;
  37 import sun.util.locale.provider.*;
  38 
  39 public class Bug8038436 {
  40     public static void main(String[] args) {
  41         switch (args[1]) {
  42         case "security":
  43             securityTests();
  44             break;
  45         case "availlocs":
  46             availableLocalesTests();
  47             break;




   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 8038436
  27  * @summary Test for changes in 8038436
  28  * @modules java.base/sun.util.locale.provider
  29  *          java.base/sun.util.spi
  30  * @compile -XDignore.symbol.file Bug8038436.java
  31  * @run main/othervm Bug8038436 -Djava.ext.dirs=foo security
  32  * @run main/othervm Bug8038436 -Djava.locale.providers=JRE availlocs
  33  */
  34 
  35 import java.security.*;
  36 import java.text.*;
  37 import java.util.*;
  38 import java.util.stream.*;
  39 import sun.util.locale.provider.*;
  40 
  41 public class Bug8038436 {
  42     public static void main(String[] args) {
  43         switch (args[1]) {
  44         case "security":
  45             securityTests();
  46             break;
  47         case "availlocs":
  48             availableLocalesTests();
  49             break;


< prev index next >