equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2014, 2015, 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. |
32 import com.oracle.java.testlibrary.*; |
32 import com.oracle.java.testlibrary.*; |
33 import java.io.File; |
33 import java.io.File; |
34 |
34 |
35 public class DefaultUseWithClient { |
35 public class DefaultUseWithClient { |
36 public static void main(String[] args) throws Exception { |
36 public static void main(String[] args) throws Exception { |
37 String fileName = "test.jsa"; |
37 String fileName = "DefaultUseWithClient.jsa"; |
38 |
38 |
39 // On 32-bit windows CDS should be on by default in "-client" config |
39 // On 32-bit windows CDS should be on by default in "-client" config |
40 // Skip this test on any other platform |
40 // Skip this test on any other platform |
41 boolean is32BitWindows = (Platform.isWindows() && Platform.is32bit()); |
41 boolean is32BitWindows = (Platform.isWindows() && Platform.is32bit()); |
42 if (!is32BitWindows) { |
42 if (!is32BitWindows) { |