6894541: javax/swing/JTable/6788484/bug6788484.java fails w/ compilation errors.
authordav
Fri, 06 May 2011 16:01:17 +0400
changeset 9666 b373390818b7
parent 9665 f43db0b310cc
child 9667 b8c4fd770967
6894541: javax/swing/JTable/6788484/bug6788484.java fails w/ compilation errors. Reviewed-by: alexp
jdk/test/javax/swing/JTable/6788484/bug6788484.java
--- a/jdk/test/javax/swing/JTable/6788484/bug6788484.java	Wed May 04 10:20:14 2011 +0400
+++ b/jdk/test/javax/swing/JTable/6788484/bug6788484.java	Fri May 06 16:01:17 2011 +0400
@@ -1,5 +1,5 @@
 /*
- * 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.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -24,9 +24,17 @@
 /* @test
    @bug 6788484
    @summary NPE in DefaultTableCellHeaderRenderer.getColumnSortOrder() with null table
+   @compile -XDignore.symbol.file=true bug6788484.java
    @author Alexander Potochkin
    @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 javax.swing.*;