Print this page
rev 4502 : 7115383: TEST_BUG: some jtreg tests fail because they explicitly specify -server option
Summary: Small changes to hotspot tests to remove  "-server" and replace with ${TESTVMOPTS}
Reviewed-by: kvn

Split Split Close
Expand all
Collapse all
          --- old/test/compiler/6946040/TestCharShortByteSwap.java
          +++ new/test/compiler/6946040/TestCharShortByteSwap.java
↓ open down ↓ 18 lines elided ↑ open up ↑
  19   19   * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  20   20   * or visit www.oracle.com if you need additional information or have any
  21   21   * questions.
  22   22   *
  23   23   */
  24   24  
  25   25  /*
  26   26   * @test
  27   27   * @bug 6946040
  28   28   * @summary Tests Character/Short.reverseBytes and their intrinsics implementation in the server compiler
  29      - * @run main/othervm -Xbatch -server -XX:CompileOnly=.testChar,.testShort TestCharShortByteSwap
       29 + * @run main/othervm -Xbatch -XX:CompileOnly=.testChar,.testShort TestCharShortByteSwap
  30   30   */
  31   31  
  32   32  // This test must run without any command line arguments.
  33   33  
  34   34  public class TestCharShortByteSwap {
  35   35  
  36   36    private static short initShort(String[] args, short v) {
  37   37      if (args.length > 0) {
  38   38        try {
  39   39          return (short) Integer.valueOf(args[0]).intValue();
↓ open down ↓ 49 lines elided ↑ open up ↑
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX