Commit b67563a
committed
[ANT] Only attempt to set SecurityManager when it is supported
This avoids trowing+catching an UnsupportedOperationException and
additional (error) logs if setting a SecurityManager is disallowed.
The latter breaks ant-tests that check the log output.
Part of eclipse-platform/eclipse.platform.releng.aggregator#26231 parent b946e83 commit b67563a
File tree
2 files changed
+18
-8
lines changed- ant
- org.eclipse.ant.core/src_ant/org/eclipse/ant/internal/core/ant
- org.eclipse.ant.tests.core/test plugin/org/eclipse/ant/tests/core/testplugin
2 files changed
+18
-8
lines changedLines changed: 16 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
82 | 83 | | |
83 | 84 | | |
84 | 85 | | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
85 | 97 | | |
86 | 98 | | |
87 | 99 | | |
| |||
695 | 707 | | |
696 | 708 | | |
697 | 709 | | |
698 | | - | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
699 | 713 | | |
700 | 714 | | |
701 | | - | |
702 | | - | |
703 | | - | |
704 | 715 | | |
705 | 716 | | |
706 | 717 | | |
| |||
1432 | 1443 | | |
1433 | 1444 | | |
1434 | 1445 | | |
1435 | | - | |
1436 | | - | |
1437 | | - | |
| 1446 | + | |
1438 | 1447 | | |
1439 | 1448 | | |
1440 | 1449 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
219 | 220 | | |
220 | 221 | | |
221 | 222 | | |
222 | | - | |
| 223 | + | |
223 | 224 | | |
224 | 225 | | |
225 | 226 | | |
| |||
0 commit comments