- A Concurrent Affair - https://www.concurrentaffair.org -

Fixed DrJava “Smart Run” Problem

Yesterday, Steve Gilbert notified me of a problem with the “smart run” feature I had introduced to simplify running applets and ACM Java Task Force programs [1].

The problem was that I knew whether a class was an applet, an ACM Java Task Force program, or a regular Java program with a main method, but this knowledge wasn’t reflected by the types. I would have needed some kind of non-static “duck typing”.

I have a fix for this problem now that uses a bit more reflection. You can download a preliminary DrJava version from my own web server [2].

It seems we have some problem with the department web server and I can’t create the usual weekly build. This fix will definitely go into the upcoming release.

[3] [4]Share [5]