Bug 204790 [Workbench] lock on .metadata/.lock is never released
Build ID: 3.3 Steps To Reproduce: 1. Debug eclipse, 1 breakpoint in basiclocation:lock 2. 2nd breakpoint in basiclocation:release 3. During the entire run only the lock call is reached. More information: The lock should be released at the end of the Eclipse session.
bundles/org.eclipse.ui.ide.application/src/org/eclipse/ui/internal/ide/application/IDEApplication.java
String message = NLS.bind(IDEWorkbenchMessages.IDEApplication_versionMessage, url.getFile());
        MessageBox mbox = new MessageBox(shell, SWT.OK | SWT.CANCEL
                | SWT.ICON_WARNING | SWT.APPLICATION_MODAL);
        mbox.setText(title);
        mbox.setMessage(message);
        return mbox.open() == SWT.OK;
    }
    /**
     * Look at the argument URL for the workspace's version information. Return
     * that version if found and null otherwise.
     */
    private static String readWorkspaceVersion(URL workspace) {
        File versionFile = getVersionFile(workspace, false);
        if (versionFile == null || !versionFile.exists()) {
			return null;
		}
        try {
            
            
            
            Properties props = new Properties();
            FileInputStream is = new FileInputStream(versionFile);
            try {
                props.load(is);
            } finally {
                is.close();
            }
            return props.getProperty(WORKSPACE_VERSION_KEY);
        } catch (IOException e) {
            IDEWorkbenchPlugin.log("Could not read version file", new Status(