Greetings.
In the org file below, the first babel block will evaluate just fine,
while the second will signal "End of file during parsing". The
difference is the opening bracket "[" in output.
I think am running the most recent stable version:
Org mode version 9.3.7 (release_9.3.7-4-gba6ca7)
Thanks for any ideas.
Jarmo
# ---------------------------------------------------------------------------
* This will parse just fine
#+name: OK
#+begin_src java :exports results :classname OK :results output
class OK
{
public static void main (String[] args) { System.out.println ("foo"); }
}
#+end_src
#+RESULTS: OK
: foo
* This will generate a parse error when evaluated
#+name: BAD
#+begin_src java :exports results :classname BAD :results output
class BAD
{
public static void main (String[] args) { System.out.println ("[foo"); }
}
#+end_src