The problem with jview, IIRC, was a buffer problem in
BufferedInputStream. Specifically, the problem was that when an
exception was thrown it didn't set the buffer position correctly (we use
benign InterruptedIOExceptions for the timeout) - if MS had the brains
to release their source code I bet I could mail them a patch for it (I
sent a patch to kaffe for the same bug).
However, that means that compiled or no, the same bug is going to come
back since it is in the java JFC code, not in the jvm native code. You
won't notice it right away, only after a while (and/or on erratic
network connections) will messages start getting corrupted - a situation
that was bad enough that it basically killed the whole network last
time.
On top of that, not being able to use non public classes is completely
silly - we have left out some language features to account for erratic
JVMs, but non public classes is a fundamental part of java. Not being
able to use them is just stupid.
There are other java to native compilers - move along.
On Mon, Sep 24, 2001 at 01:22:21AM +1200, David McNab wrote:
> Hi,
>
> I've had another go at building freenet 0.4 into a windows exe which relies
> on the windows jview jvm.
>
> But to get it to compile, I had to make the following changes (simply
> inserting 'public'):
>
> Freenet/node/State.java:37:
> public final long id;
>
> Freenet/transport/tcpTransport.java:12:
> abstract public class tcpTransport implements Transport {
>
> Freenet/node/states/data/DataState.java:11:
> abstract public class DataState extends State {
>
> How would people feel about these changes going in to the cvs code?
>
> I still feel that the Visual Java-produced freenet.exe is still worth looking
> into, since it seems to work far better with the windows jview.exe than did
> the Sun-compiled jar file.
>
> As for the Windows XP issue, where this new OS won't have jview?
> My thoughts are, for now, fuck 'em.
> It'll take quite a while for WinXP user base to get anywhere near the size of
> the 98/NT/2k userbase.
> By that time, Sun will likely have released their jview replacement.
>
> Cheers
> David
>
>
--
Though here at journey's end I lie
In darkness buried deep, above all shadows rides the Sun
beyond all towers strong and high, and the Stars forever dwell:
beyond all mountains steep, I will not say the Day is done,
nor bid the Stars farewell.
(JRRT)
Oskar Sandberg
oskar at freenetproject.org
_______________________________________________
Devl mailing list
Devl at freenetproject.org
http://lists.freenetproject.org/mailman/listinfo/devl