Standard java runners do not call calback, if compilation failed.

Answered

Hello, I am calling runner.execute(env, callback) on BasicProgramRunner and GenericDebuggerRunner and expect it to run callback after process started, but I noticed that callback is not invoked when compilation fails. Is it expected behavior or a bug?
If it is, is there any way to find out that compilation failed and process will not start?

1 comment
Comment actions Permalink

Yes, callback is called only if process started. But not if some before task failed or error occurred.

0

Please sign in to leave a comment.