equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2010, 2011 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. |
22 */ |
22 */ |
23 |
23 |
24 /* @test |
24 /* @test |
25 @bug 6788484 |
25 @bug 6788484 |
26 @summary NPE in DefaultTableCellHeaderRenderer.getColumnSortOrder() with null table |
26 @summary NPE in DefaultTableCellHeaderRenderer.getColumnSortOrder() with null table |
|
27 @compile -XDignore.symbol.file=true bug6788484.java |
27 @author Alexander Potochkin |
28 @author Alexander Potochkin |
28 @run main bug6788484 |
29 @run main bug6788484 |
29 */ |
30 */ |
|
31 |
|
32 /* |
|
33 * Compile with -XDignore.symbol.file=true option as a workaround for |
|
34 * specific behaviour described in 6380059 which restricts proprietary |
|
35 * package loading |
|
36 */ |
|
37 |
30 import sun.swing.table.DefaultTableCellHeaderRenderer; |
38 import sun.swing.table.DefaultTableCellHeaderRenderer; |
31 |
39 |
32 import javax.swing.*; |
40 import javax.swing.*; |
33 |
41 |
34 public class bug6788484 { |
42 public class bug6788484 { |