Bug 23021 - GATE fails to build because javax.swing.text.JTextComponent read method missing
Summary: GATE fails to build because javax.swing.text.JTextComponent read method missing
Status: RESOLVED FIXED
Alias: None
Product: classpath
Classification: Unclassified
Component: classpath (show other bugs)
Version: unspecified
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-05 03:25 UTC by from-classpath
Modified: 2005-07-23 22:54 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description from-classpath 2005-07-05 03:25:29 UTC
Because javax.swing.text.JTextComponent read method hasn't yet been implemented - 
http://www.kaffe.org/~stuart/japi/htmlout/h-jdk14-classpath.html#err_missing_javax_swing - GATE fails to build - http://gate.ac.uk/


fis% PATH=/usr/lib/jvm/java-gcj/bin java -classpath /usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar org.apache.tools.ant.Main -Dbuild.compiler=gcj
Buildfile: build.xml
     [echo]
     [echo]     This is the ANT build script for GATE (http://gate.ac.uk).
     [echo]     Type "ant help" for details about the targets available.
     [echo]     GATE 3.0, build 2008

guk:
    [javac] Compiling 2 source files to /home/jablko/src/gate/cvs/gate/classes
    [javac] /home/jablko/src/gate/cvs/gate/src/guk/Editor.java: In class 'guk.Editor$2':
    [javac] /home/jablko/src/gate/cvs/gate/src/guk/Editor.java: In method 'guk.Editor$2.actionPerformed(java.awt.event.ActionEvent)':
    [javac] /home/jablko/src/gate/cvs/gate/src/guk/Editor.java:191: error: Can't find method 'read(Ljava/io/InputStreamReader;V)' in type 'javax.swing.JTextPane'.
    [javac]                  textPane.read(reader, null);
    [javac]                          ^
    [javac] 1 error

BUILD FAILED
/home/jablko/src/gate/cvs/gate/build.xml:205: Compile failed; see the compiler error output for details.

Total time: 4 seconds
fis% 


Many thanks for all the hard work on GNU Classpath!

Jack
Comment 1 from-classpath 2005-07-05 10:25:56 UTC
2005-07-05  Audrius Meskauskas  <AudriusA@Bioinformatics.org>
* javax/swing/text/JTextComponent.java (read, write): New methods.