equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2015, 2016, 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. |
21 * questions. |
21 * questions. |
22 */ |
22 */ |
23 |
23 |
24 import sun.java2d.marlin.ArrayCache; |
24 import sun.java2d.marlin.ArrayCache; |
25 |
25 |
26 /** |
26 /* |
27 * @test |
27 * @test |
28 * @bug 8144445 |
28 * @bug 8144445 |
29 * @summary Check the ArrayCache getNewLargeSize() method |
29 * @summary Check the ArrayCache getNewLargeSize() method |
30 * @run main ArrayCacheSizeTest |
30 * @run main ArrayCacheSizeTest |
|
31 * @modules java.desktop/sun.java2d.marlin |
31 */ |
32 */ |
32 public class ArrayCacheSizeTest { |
33 public class ArrayCacheSizeTest { |
33 |
34 |
34 public static void main(String[] args) { |
35 public static void main(String[] args) { |
35 testNewSize(); |
36 testNewSize(); |