idilhaq / duke

Automatically exported from code.google.com/p/duke
0 stars 1 forks source link

--interactive fails in Eclipse #124

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Because System.getConsole() returns null, which is a well-known bug.

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=122429 and 
http://illegalargumentexception.blogspot.no/2010/09/java-systemconsole-ides-and-
testing.html

Original issue reported on code.google.com by lar...@gmail.com on 26 Jun 2013 at 1:34

GoogleCodeExporter commented 9 years ago
Apparently we can use System.in instead, which makes it easy: 
http://stackoverflow.com/a/4491872/412333

Original comment by lar...@gmail.com on 4 Jul 2013 at 9:00

GoogleCodeExporter commented 9 years ago
This issue was closed by revision f94b1cb299c0.

Original comment by lar...@gmail.com on 4 Jul 2013 at 9:28