jdk/test/tools/pack200/Pack200Test.java
changeset 27565 729f9700483a
parent 18594 b6a3c9f71ac8
child 27940 1ce0acf58d6c
equal deleted inserted replaced
27564:eaaa79b68cd5 27565:729f9700483a
     1 /*
     1 /*
     2  * Copyright (c) 2007, 2013, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 2007, 2014, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   124      * @param args the command line arguments
   124      * @param args the command line arguments
   125      */
   125      */
   126     public static void main(String[] args) throws IOException {
   126     public static void main(String[] args) throws IOException {
   127         // select the jars carefully, adding more jars will increase the
   127         // select the jars carefully, adding more jars will increase the
   128         // testing time, especially for jprt.
   128         // testing time, especially for jprt.
   129         jarList.add(Utils.locateJar("tools.jar"));
   129         jarList.add(Utils.createRtJar());
   130         jarList.add(Utils.locateJar("rt.jar"));
       
   131         jarList.add(Utils.locateJar("golden.jar"));
   130         jarList.add(Utils.locateJar("golden.jar"));
   132         System.out.println(jarList);
   131         System.out.println(jarList);
   133         doPackUnpack();
   132         doPackUnpack();
   134     }
   133     }
   135 }
   134 }