Re:Codepad.org | a pastebin that executes code for you
by sili on Sunday October 11, 2009 @09:14AM
(#874703)
I wonder what is the reason that Java is not supported.
[ Parent
| on HN ]
Re:Codepad.org | a pastebin that executes code for you
by sah on Sunday October 11, 2009 @11:28AM
(#874783)
The JVM is threaded, and threads will require a little bit of (careful!) work for the codepad security sandbox to support. I haven't had time for that project yet.
Re:Codepad.org | a pastebin that executes code for you
by brown9-2 on Sunday October 11, 2009 @11:44AM
(#874797)
Perhaps supporting something like Groovy would make for an easier-to-implement compromise?
Re:Codepad.org | a pastebin that executes code for you
by scotth on Sunday October 11, 2009 @11:03AM
(#874762)
Java isn't really appropriate for something like this. You could, I suppose, paste the entire main class into the text box and run it that way.
If Java-like syntax is desired (although I can't imagine why it would be), BeanShell would be the way to go.