Disabling kjs and kjava ?

Koos Vriezen koos.vriezen at xs4all.nl
Sun Jan 1 14:52:57 GMT 2006


On Sat, Dec 31, 2005 at 08:23:47PM +0800, Mr E_T wrote:
> On Tuesday 08 November 2005 21:24, you wrote:
> > On Tue, Nov 08, 2005 at 08:53:38PM +0800, Mr E_T wrote:
> > > On Tuesday 08 November 2005 20:16, you wrote:
> > > > -Dkjas.debug=1
> > > How's this -
> > 
> ...
> > 
> > Anyhow, you've hit a known bug. Maybe it get fixed befor kde-3.5, maybe
> > later ..
> > 
> > Koos
> 
> Anyway - now using 3.5 - still no joy - Back to the original question.

You can track this bug at http://bugs.kde.org/show_bug.cgi?id=113407 (as
mentioned earlier in this thread) (*)

> Can I disable kjava and just use the java binary without kde translation from
> konqueror ?

Not sure what you mean here .. (I thought we've discussed that without
it, it didn't work because of https/proxy problems)

(*) for kfm-devel, the bug is when doing from java a write on an
OutputStream of a HttpURLConnection. Writes on other URLConnection
types, like ftp/smb/fish, works (though hardly used, so has little
testing). See java/org/kde/kjas/server/KJASURLStreamHandlerFactory.java

In c++ this is translated to 'KIO::put(url, -1, false, false, false)',
and in contrast to ftp/smb puts, I don't get dataReq events.
Of course I can figure this out myself, but any hint are welcome. First
one is what exacly happens if doing a 'put' on a http url? Second, does
this work with data chunks? Third, I also don't seem to get the http
headers.
These three might be related to that data chunks don't work and
everything has to be deliverd to the KIO job, before it connects and
writes all data because it must know the data size in front. Any
insights are welcome ..
See java/kjavadownloader.cpp

> Its really become a pain in the proverbial.

You can always learn to program yourself of course ..

Koos




More information about the kfm-devel mailing list