summaryrefslogtreecommitdiff
path: root/java/jdk13/files/patch-mutexLocker.cpp
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2003-10-08 00:42:23 +0000
committerGreg Lewis <glewis@FreeBSD.org>2003-10-08 00:42:23 +0000
commit38e03fb03a8cfdf6696c695dc868bb5486dafe57 (patch)
tree9358ecca27a0050265fcc610e5c263b712a20d9d /java/jdk13/files/patch-mutexLocker.cpp
parentDe-fennerize this port. (diff)
. Make HotSpot compile with gcc 3.3.1.
Submitted by: Munehiro Matsuda <haro@h4.dion.ne.jp> Reminded by: mi
Notes
Notes: svn path=/head/; revision=90577
Diffstat (limited to 'java/jdk13/files/patch-mutexLocker.cpp')
-rw-r--r--java/jdk13/files/patch-mutexLocker.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/java/jdk13/files/patch-mutexLocker.cpp b/java/jdk13/files/patch-mutexLocker.cpp
new file mode 100644
index 000000000000..25bea3f45b19
--- /dev/null
+++ b/java/jdk13/files/patch-mutexLocker.cpp
@@ -0,0 +1,13 @@
+$FreeBSD$
+
+--- ../../hotspot1.3.1/src/share/vm/runtime/mutexLocker.cpp 17 Aug 2001 22:56:20 -0000 1.1.1.2
++++ ../../hotspot1.3.1/src/share/vm/runtime/mutexLocker.cpp 27 Jul 2003 10:41:16 -0000 1.2
+@@ -90,7 +90,7 @@
+ #endif
+
+ #define def(var, type, pri, vm_block) \
+- var = new type(Mutex::##pri, #var, vm_block)
++ var = new type(Mutex::pri, #var, vm_block)
+
+ void mutex_init() {
+ def(Patching_lock , Mutex , leaf, true );