提交 1ef03738 编写于 作者: D dav

6894541: javax/swing/JTable/6788484/bug6788484.java fails w/ compilation errors.

Reviewed-by: alexp
上级 1f5c88f6
/* /*
* Copyright (c) 2010, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2010, 2011 Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
...@@ -24,9 +24,17 @@ ...@@ -24,9 +24,17 @@
/* @test /* @test
@bug 6788484 @bug 6788484
@summary NPE in DefaultTableCellHeaderRenderer.getColumnSortOrder() with null table @summary NPE in DefaultTableCellHeaderRenderer.getColumnSortOrder() with null table
@compile -XDignore.symbol.file=true bug6788484.java
@author Alexander Potochkin @author Alexander Potochkin
@run main bug6788484 @run main bug6788484
*/ */
/*
* Compile with -XDignore.symbol.file=true option as a workaround for
* specific behaviour described in 6380059 which restricts proprietary
* package loading
*/
import sun.swing.table.DefaultTableCellHeaderRenderer; import sun.swing.table.DefaultTableCellHeaderRenderer;
import javax.swing.*; import javax.swing.*;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册