Merged gcj-eclipse branch to trunk.
From-SVN: r120621
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// natReference.cc - Native code for References
|
||||
|
||||
/* Copyright (C) 2001, 2002, 2003, 2005 Free Software Foundation
|
||||
/* Copyright (C) 2001, 2002, 2003, 2005, 2006 Free Software Foundation
|
||||
|
||||
This file is part of libgcj.
|
||||
|
||||
@@ -368,3 +368,10 @@ void
|
||||
add_to_hash (this);
|
||||
}
|
||||
}
|
||||
|
||||
::java::lang::Object *
|
||||
::java::lang::ref::Reference::get()
|
||||
{
|
||||
JvSynchronize sync (lock);
|
||||
return referent;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user