mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-27 21:15:32 +08:00
GP-0: Fixing yield keyword conflict when compiling with JDK 17
compliance.
This commit is contained in:
+2
-2
@@ -577,7 +577,7 @@ public class AutoAnalysisManager implements DomainObjectListener, DomainObjectCl
|
|||||||
Integer originalPriority = activeTask.taskPriority;
|
Integer originalPriority = activeTask.taskPriority;
|
||||||
activeTask.taskPriority = limitPriority;
|
activeTask.taskPriority = limitPriority;
|
||||||
try {
|
try {
|
||||||
yield(limitPriority, monitor);
|
this.yield(limitPriority, monitor);
|
||||||
}
|
}
|
||||||
finally {
|
finally {
|
||||||
activeTask.taskPriority = originalPriority;
|
activeTask.taskPriority = originalPriority;
|
||||||
@@ -652,7 +652,7 @@ public class AutoAnalysisManager implements DomainObjectListener, DomainObjectCl
|
|||||||
// Thinking was that if some analysis causes disassembly to occur,
|
// Thinking was that if some analysis causes disassembly to occur,
|
||||||
// then that disassembly and it's analysis will keep other analysis out of trouble.
|
// then that disassembly and it's analysis will keep other analysis out of trouble.
|
||||||
// However for single threaded, this might not be worthwhile in the long run.
|
// However for single threaded, this might not be worthwhile in the long run.
|
||||||
yield(activeTask.taskPriority, monitor);
|
this.yield(activeTask.taskPriority, monitor);
|
||||||
}
|
}
|
||||||
else if (analysisThread != null || !isEnabled) {
|
else if (analysisThread != null || !isEnabled) {
|
||||||
// this could be a sub-thread of a task, don't yield, or flush domain objects
|
// this could be a sub-thread of a task, don't yield, or flush domain objects
|
||||||
|
|||||||
Reference in New Issue
Block a user