1. A method of resolving references in ahead-of-time (AOT) compiled code, the method comprising: updating AOT code at loading time for already resolved class references in the AOT code; and, executing the updated AOT code to resolve remaining unresolved class references in the updated AOT code.