yadavay-amzn commented on PR #55720: URL: https://github.com/apache/spark/pull/55720#issuecomment-4418088486
@attilapiros I verified this both in-process (calling `run()` twice in the same JVM) and cross-process (forking separate JVMs with `Storage.Folder` sharing a temp cache directory). The NPE does not reproduce in either case — it requires a specific Ammonite classloader state that only occurs in real interactive usage (your original reproduction in the JIRA). Updated the test to directly assert that `newAmmoniteMain` wires `Storage.InMemory` (which is the exact semantic the fix adds), and smoke-tests the restart scenario by calling `run()` twice. Also fixed the non-ASCII character. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
