

def _get_jar_class_versions(self, jarname):
    path = os.path.join('dist', jarname)
    self.assertTrue(os.path.exists(jarname), '{} does not exist.'.format(path))
    class_to_version = {
        
    }
    with temporary_dir() as tempdir:
        ZIP.extract(path, tempdir, filter_func=(lambda f: f.endswith('.class')))
        for (root, dirs, files) in os.walk(tempdir):
            for name in files:
                path = os.path.abspath(os.path.join(root, name))
                class_to_version[os.path.relpath(path, tempdir)] = self.determine_version(path)
    return class_to_version

dataset/ETHPy150Open pantsbuild/pants/tests/python/pants_test/backend/jvm/tasks/jvm_compile/java/jvm_platform_integration_mixin.py JvmPlatformIntegrationMixin._get_jar_class_versions/VarMisuse@35/46 `path`->`jarname`