> > The addShutdownHook is still there, but also the static blocks meant for > > pre-loading the classes. On my machine working with the latest SVN trunk > > the .lock files are correctly deleted. > > hm, i have the latest svn trunk as well, and the lock file is not being > removed. i don't see any static blocks in RepositoryImpl though.
if it's just about the .lock file, http://issues.apache.org/jira/browse/JCR-233 suggests a solution with exclusive file locking. imo, this would be the best option (although some FS might not support filelocks. encoutered this on some linux NFS).
