Closed xavierleroy closed 9 years ago
All invocations of ocamllex (the one packaged with ocamljava) fail when generating the .ml file. (My configuration: openjdk-7 on Linux).
Repro case:
$ echo 'rule main = parse "" { () }' > foo.mll $ ocamllex foo.mll 1 states, 0 transitions, table size 6 bytes Fatal error: exception Sys_error("java.nio.channels.ClosedChannelException")
For the record, the problem is related to the ocamljar tool (that is applied to binaries of the binary distribution).
All invocations of ocamllex (the one packaged with ocamljava) fail when generating the .ml file. (My configuration: openjdk-7 on Linux).
Repro case:
$ echo 'rule main = parse "" { () }' > foo.mll $ ocamllex foo.mll 1 states, 0 transitions, table size 6 bytes Fatal error: exception Sys_error("java.nio.channels.ClosedChannelException")