mike_hartshorn2 | 3 Sep 16:58
Picon
Favicon

Re: Thinlet and jdk1.1.8

Hi Michael,

if I compile the standard thinlet with Sun jdk1.1.8 I get
the errors shown below. Gammelgedden observes the same
and I've seen Robert Bajzat comment on the same point
in another message. Compiling with java 1.4.2 gives a
class file that works erratically with the java interpreter
of jdk1.1.8 (exceptions and vm crash).

As the fix is seemingly benign (adding public Thinlet()
in front of the instance initialiser on line 88)
it would be nice to have it in the standard distribution.

This helps maintain the portability of thinlet and would
certainly make my life easier :-)

Regards,

Mike

e:\thinlet\src> c:\jdk1.1.8\bin\javac thinlet\Thinlet.java
sun.tools.java.CompilerError: copyInline
        at sun.tools.tree.TryStatement.copyInline
(TryStatement.java:172)
        at sun.tools.tree.CompoundStatement.copyInline(Compiled Code)
        at sun.tools.tree.IfStatement.copyInline(IfStatement.java:95)
        at sun.tools.tree.CompoundStatement.copyInline(Compiled Code)
        at sun.tools.tree.InlineMethodExpression.copyInline
(InlineMethodExpression.java:67)
        at sun.tools.tree.MethodExpression.makeVarInits(Compiled Code)
(Continue reading)


Gmane