BuggleInc / webPLM

Web Interface of the PLM (JavaScript + Play framework)
https://plm.telecomnancy.univ-lorraine.fr
GNU Affero General Public License v3.0
11 stars 14 forks source link

Infinite loop sometimes reported as a compiler error #74

Open mquinson opened 9 years ago

mquinson commented 9 years ago

Here is the (java) code I used: while (true) {}

The error reported was: The compiler timed out.

I think that the compiler should report a "Compilation OK" frame when this is the case so that the client can distinguish between a compilation timeout and an execution timeout.

oster commented 8 years ago

Reporting a "compilation ok" might be confusing since the code was not compiled and might not compiled. The message should inform the user that he has to make another compilation request (saying the PLM platform is overloaded)