[kaffe] Bug Report with partial fix
Atsushi Nemoto
anemo at mba.ocn.ne.jp
Sat Nov 8 07:16:02 PST 2003
Hi. I'm trying CVS kaffe and found the appletviewer does not work and
just say:
Warning: no applets were found. Make sure the input contains an <applet> tag
>>>>> On Mon, 27 Oct 2003 17:55:20 +0100, Dalibor Topic <robilad at kaffe.org> said:
robilad> Ross Martin wrote:
>> Kaffe without patches fails to even load the applet. I've attached
>> a patch that fixes kaffe/applet/AppletTag.java and
>> java/awt/ImageLoader.java to at least get it to the load stage and
>> display some of the animations.
robilad> Thanks, I've checked in the patch. Please add a small
robilad> ChangeLog entry next time ;)
The fix makes a character '/' treated as word charactors, so now
"/applet" is a single word, isn't it?
--- /usr/local/src/cvs/kaffe/libraries/javalib/kaffe/applet/AppletTag.java Tue Oct 28 01:57:02 2003
+++ kaffe/libraries/javalib/kaffe/applet/AppletTag.java Sat Nov 8 23:51:43 2003
@@ -275,10 +275,7 @@
currentTag.parseParam(st);
} // ignore <PARAM> outside of <APPLET>
}
- } else
- if (ttype == '/') {
- ttype = st.nextToken();
- if (ttype == st.TT_WORD && st.sval.equals("applet")) {
+ else if ( st.sval.equals( "/applet") ) {
tags.addElement(currentTag);
currentTag = null;
}
---
Atsushi Nemoto
More information about the kaffe
mailing list