Commit 666dbbb
committed
This revison fixes a bug in the "open project" command. If a project was
already open, this operation would sometimes deadlock presumably because
the command runs in the event thread and requires another event thread
operation to complete. The revised version first closes the existing project
before asking the use to select the new project file (using a file selector).
The following files were modified:
modified: build.xml
modified: src/edu/rice/cs/drjava/model/AbstractGlobalModel.java
modified: src/edu/rice/cs/drjava/model/GlobalModelJUnitTest.java
modified: src/edu/rice/cs/drjava/model/GlobalModelTestCase.java
modified: src/edu/rice/cs/drjava/model/junit/JUnitTestManager.java
modified: src/edu/rice/cs/drjava/model/junit/JUnitTestRunner.java
modified: src/edu/rice/cs/drjava/ui/MainFrame.java1 parent 600e7f2 commit 666dbbb
File tree
7 files changed
+42
-47
lines changed- drjava
- src/edu/rice/cs/drjava
- model
- junit
- ui
7 files changed
+42
-47
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
880 | 880 | | |
881 | 881 | | |
882 | 882 | | |
883 | | - | |
884 | | - | |
| 883 | + | |
885 | 884 | | |
886 | 885 | | |
887 | 886 | | |
| |||
1151 | 1150 | | |
1152 | 1151 | | |
1153 | 1152 | | |
1154 | | - | |
1155 | 1153 | | |
1156 | 1154 | | |
1157 | 1155 | | |
| |||
Lines changed: 21 additions & 23 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1812 | 1812 | | |
1813 | 1813 | | |
1814 | 1814 | | |
1815 | | - | |
1816 | | - | |
1817 | | - | |
1818 | | - | |
1819 | | - | |
1820 | | - | |
1821 | | - | |
1822 | | - | |
| 1815 | + | |
| 1816 | + | |
| 1817 | + | |
| 1818 | + | |
| 1819 | + | |
| 1820 | + | |
1823 | 1821 | | |
1824 | | - | |
| 1822 | + | |
1825 | 1823 | | |
1826 | 1824 | | |
1827 | 1825 | | |
1828 | | - | |
1829 | | - | |
1830 | | - | |
1831 | | - | |
1832 | | - | |
| 1826 | + | |
| 1827 | + | |
| 1828 | + | |
| 1829 | + | |
| 1830 | + | |
1833 | 1831 | | |
1834 | 1832 | | |
1835 | 1833 | | |
| |||
2011 | 2009 | | |
2012 | 2010 | | |
2013 | 2011 | | |
2014 | | - | |
2015 | | - | |
2016 | | - | |
2017 | | - | |
2018 | | - | |
2019 | | - | |
2020 | | - | |
| 2012 | + | |
| 2013 | + | |
| 2014 | + | |
| 2015 | + | |
| 2016 | + | |
| 2017 | + | |
| 2018 | + | |
2021 | 2019 | | |
2022 | | - | |
2023 | | - | |
| 2020 | + | |
| 2021 | + | |
2024 | 2022 | | |
2025 | 2023 | | |
2026 | 2024 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
78 | | - | |
| 78 | + | |
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4854 | 4854 | | |
4855 | 4855 | | |
4856 | 4856 | | |
4857 | | - | |
4858 | | - | |
| 4857 | + | |
| 4858 | + | |
| 4859 | + | |
| 4860 | + | |
| 4861 | + | |
4859 | 4862 | | |
4860 | | - | |
4861 | | - | |
4862 | | - | |
| 4863 | + | |
| 4864 | + | |
| 4865 | + | |
4863 | 4866 | | |
4864 | 4867 | | |
4865 | 4868 | | |
4866 | 4869 | | |
4867 | | - | |
4868 | | - | |
4869 | | - | |
4870 | | - | |
4871 | | - | |
4872 | | - | |
4873 | | - | |
4874 | | - | |
4875 | | - | |
4876 | | - | |
| 4870 | + | |
| 4871 | + | |
| 4872 | + | |
| 4873 | + | |
| 4874 | + | |
| 4875 | + | |
| 4876 | + | |
4877 | 4877 | | |
4878 | | - | |
4879 | | - | |
| 4878 | + | |
4880 | 4879 | | |
4881 | 4880 | | |
4882 | 4881 | | |
| |||
0 commit comments