com.sun.tools.jdeps.VersionHelper keeps the nameToVersion map in a static variable. If multiple invocation of jdeps ToolProvider in the same VM, a class file of multiple versions detected in a previous invocation of jdeps will cause MultiReleaseException in the subsequent invocation of jdeps even if there is no conflict.