Closed astrelsky closed 3 days ago
Making the changes to this got internally rejected. The official guidance is to not use multithreading on this class.
Making the changes to this got internally rejected. The official guidance is to not use multithreading on this class.
No problem. I didn't think it was worth fixing, it just didn't behave as documented.
Describe the bug
Application.isInitialized
returns true beforeApplication
initialization is complete. Furthermore, correcting this breaks everything, even the build becauseApplication.checkAppInitialized
is used to ensure theApplication
is "initialized" during initialization.To Reproduce Steps to reproduce the behavior:
Expected behavior The documented behavior is is the expected behavior https://github.com/NationalSecurityAgency/ghidra/blob/5ab72bf4f254773b12c3c9566d14c42e5eb2495f/Ghidra/Framework/Generic/src/main/java/ghidra/framework/Application.java#L120-L127
Additional context I can just hack around it and use Reflection to check
Application.firstCreationThrowable
for now.