|
[PATCH] appletviewer fix: msg#00131java.vm.kaffe.general
I posted this patch two weeks ago but no response. I will try again. The appletviewer in current CVS (AppletTag.java revision 1.5) can not handle APPLET tag with no PARAM tag. This is a patch to fix this behavior. --- kaffe.cvs/libraries/javalib/kaffe/applet/AppletTag.java Tue Oct 28 01:57:02 2003 +++ kaffe/libraries/javalib/kaffe/applet/AppletTag.java Sun Nov 9 01:16:27 2003 @@ -269,6 +269,7 @@ if ( ttype == st.TT_WORD ) { if ( st.sval.equals("applet") ) { currentTag = new AppletTag( st); + st.ordinaryChar('/'); } else if ( st.sval.equals( "param") ) { if (currentTag != null) { @@ -281,6 +282,8 @@ if (ttype == st.TT_WORD && st.sval.equals("applet")) { tags.addElement(currentTag); currentTag = null; + st.wordChars('/', '/'); + st.wordChars(':', ':'); } } } --- Atsushi Nemoto
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [Cp-tools-discuss] How to run gjdoc with kaffe, Brian Jones |
|---|---|
| Next by Date: | Re: Kaffe and newer make tools, Dalibor Topic |
| Previous by Thread: | Re: Bug Report with partial fix, Atsushi Nemoto |
| Next by Thread: | Re: [PATCH] appletviewer fix, Guilhem Lavaux |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |