Bug 130006 - Error in libgcj's swing classes
Summary: Error in libgcj's swing classes
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: gcc
Version: rawhide
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Gary Benson
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-08-16 15:46 UTC by Gary Benson
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2005-03-16 19:47:30 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Gary Benson 2004-08-16 15:46:22 UTC
Description of problem:
When attempting to compile an ant task that uses swing against libgcj
I get the following error:

42. ERROR in
apache-ant-1.6.1/src/main/org/apache/tools/ant/taskdefs/optional/sp
lash/SplashScreen.java (at line 55)
        JPanel pan = (JPanel) getContentPane();
                              ^^^^^^^^^^^^^^
The method getContentPane() from the type JWindow is not visible

Version-Release number of selected component (if applicable):
libgcj-3.4.1-7

Comment 1 Gary Benson 2004-08-16 16:46:09 UTC
Similar errors occur when compiling the swingui component of junit.

Comment 2 Gary Benson 2004-08-17 11:17:54 UTC
Similar errors occur when compiling bcel.

Comment 6 Gary Benson 2004-08-17 14:00:31 UTC
Similar errors occur when compiling antlr.

Comment 7 Bryce McKinlay 2005-03-16 19:47:30 UTC
This has been fixed in GCC 4.0:

2003-11-18  Graydon Hoare  <graydon>

        * javax/swing/JLayeredPane.java: Implement.
        * javax/swing/JFrame.java (getContentPane): Make public


Note You need to log in before you can comment on or make changes to this bug.