From d4708907ea9fa1d4544218fb93f843d7484d1928 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Sat, 27 Nov 2010 11:31:34 -0700 Subject: [PATCH] fix non-openjdk build --- classpath/java/lang/Thread.java | 1 + src/classpath-avian.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/classpath/java/lang/Thread.java b/classpath/java/lang/Thread.java index 3633921866..6e8ea0cae4 100644 --- a/classpath/java/lang/Thread.java +++ b/classpath/java/lang/Thread.java @@ -16,6 +16,7 @@ import java.util.WeakHashMap; public class Thread implements Runnable { private long peer; private volatile boolean interrupted; + private volatile boolean unparked; private boolean daemon; private byte state; private byte priority; diff --git a/src/classpath-avian.cpp b/src/classpath-avian.cpp index e86fae4079..509e13ece4 100644 --- a/src/classpath-avian.cpp +++ b/src/classpath-avian.cpp @@ -49,7 +49,7 @@ class MyClasspath : public Classpath { const unsigned NormalPriority = 5; return vm::makeThread - (t, 0, 0, 0, NewState, NormalPriority, 0, 0, 0, + (t, 0, 0, 0, 0, NewState, NormalPriority, 0, 0, 0, root(t, Machine::BootLoader), 0, 0, group, 0); }