Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.10.0
-
None
Description
FunctionInitializer.checkInit() method uses DCL to ensure that function body is loaded only once. But flag parameter is never updated and all threads are entering synchronized block.
Also FunctionInitializer.getImports() always returns empty list.
Changes:
1. Fix DCL in FunctionInitializer.checkInit() method (update flag parameter when function body is loaded).
2. Fix ImportGrabber.getImports() method to return list with imports.
3. Add unit tests for FunctionInitializer.
4. Minor refactoring (rename methods, add javadoc).
Attachments
Issue Links
- links to