Sometimes compiling re-opens a file that had been closed before.
1. Open two files with unit tests that fail. Compile them and run the unit tests.
2. Now close one of the files.
3. Compile.
4. DrJava will re-open the file that was closed.
However, if the "Test Output" tab is closed, DrJava will not re-open the file:
1. Open two files with unit tests that fail. Compile them and run the unit tests.
2. Now close one of the files.
3. CLOSE THE "TEST OUTPUT" TAB.
4. Compile.
5. DrJava will NOT re-open the file that was closed, and behave as expected.
The attempted fix in 4852 didn't work. Now clicking on a JUnit error to move the cursor to the file and line of the error doesn't work for any file anymore, even if it is still open.
Fixed as of revision 4854.