JIT exception in "netrexx.lang.Rexx.optioncheck" with new OS2 JDK 1.1.4

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

JIT exception in "netrexx.lang.Rexx.optioncheck" with new OS2 JDK 1.1.4

serkom
Hi NetRexxers,

I have big troubles with NetRexx and new JDK 1.1.4 on OS/2.
I'm not able to compile and run NR-programs any more.
Java 114 seems ok ...
The method "netrexx.lang.Rexx.optioncheck" seems to get into
the way for running existing NR-programs and to compile code.
Compiling other NR-programs always end with:
netrexx.lang.BadArgumentException: Bad Option character "
where "Bad Option character" shows '"' or '.'

A workaround is to turn JIT off :=(

After an hour test, I have the impression, that native Java
programs run (with JIT) and that NetRexx compiled programs
fail with JIT. I have no larger NetRexx class file running!

Here is a little sample. The only NR-program I am able to compile
is the hello-world one-liner, where NetRexx builds classes and
method statements itself.


[D:\netrexxbsp\Pings]java -version
JAVA.EXE version "JDK 1.1.4 IBM build o114-19971114"

[D:\netrexxbsp\Pings]type hello.nrx
say "hello 114"

[D:\netrexxbsp\Pings]nrc -run hello
NetRexx portable processor, version 1.121
Copyright (c) IBM Corporation, 1997.  All rights reserved.
Program hello.nrx
Compilation of 'hello.nrx' successful
Running hello ...
hello 114

[D:\netrexxbsp\Pings]type hello_bad.nrx
class hello_bad
method main(arg=String[]) static
say "hello 114"

[D:\netrexxbsp\Pings]nrc -run hello_bad
NetRexx portable processor, version 1.121
Copyright (c) IBM Corporation, 1997.  All rights reserved.
Program hello_bad.nrx
  === class hello_bad ===
    method main(String[])
netrexx.lang.BadArgumentException: Bad Option character "
        at netrexx.lang.Rexx.optioncheck(Compiled Code)
        at netrexx.lang.Rexx.strip(Compiled Code)
        at netrexx.lang.Rexx.strip(Compiled Code)
        at COM.ibm.netrexx.process.RxTranslator.makemessage(Compiled Code)
        at COM.ibm.netrexx.process.RxMessage.<init>(Compiled Code)
        at COM.ibm.netrexx.process.RxWarn.<init>(Compiled Code)
        at COM.ibm.netrexx.process.RxWarn.<init>(Compiled Code)
        at COM.ibm.netrexx.process.RxMethod.scan2(Compiled Code)
        at COM.ibm.netrexx.process.RxMethod.scan(Compiled Code)
        at COM.ibm.netrexx.process.RxParser.parseclassbody(Compiled Code)
        at COM.ibm.netrexx.process.RxParser.parseprogram(Compiled Code)
        at COM.ibm.netrexx.process.RxTranslator.translate(Compiled Code)
        at COM.ibm.netrexx.process.NetRexxC.main(Compiled Code)
        at COM.ibm.netrexx.process.NetRexxC.main(Compiled Code)
Cannot find file: hello_bad.class

[D:\netrexxbsp\Pings]set java_compiler=xxx

[D:\netrexxbsp\Pings]nrc -run hello_bad
NetRexx portable processor, version 1.121
Copyright (c) IBM Corporation, 1997.  All rights reserved.
Program hello_bad.nrx
  === class hello_bad ===
    function main(String[])
Compilation of 'hello_bad.nrx' successful
Running hello_bad ...
hello 114



Must I go back to JDK 1.1.1?

All the best

Kai Schmidt

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>