db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@apache.org>
Subject Re: [jira] Updated: (DERBY-700) Derby does not prevent dual boot of database from different classloaders on Linux
Date Thu, 03 Aug 2006 16:36:28 GMT
Mike Matrigali wrote:


> If anyone has ideas on this one, please post them.  I have been stumped
> by this one so far.  As I posted earlier I think one approach simply
> needs a way to uniquely identify the current JVM, and also some way
> to coordinate a sync block across 2 class loaders. 

A Java synchronized block across class loaders is easy, either
of these will work. But I'm not sure if that's what you really meant,
but I'd thought I'd throw it out there.

synchronized ("derby")
{
}

synchronized ("")
{
}

Dan.



Mime
View raw message