Skip to content

Commit

Permalink
[Truffle] Restore ConditionVariable#marshal_dump.
Browse files Browse the repository at this point in the history
  • Loading branch information
eregon committed Dec 1, 2016
1 parent a663ee3 commit 8fbb98c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/ruby/truffle/truffle/thread.rb
Expand Up @@ -119,6 +119,11 @@ def broadcast
end
self
end

# Truffle: define marshal_dump as MRI tests expect it
def marshal_dump
raise TypeError, "can't dump #{self.class}"
end
end

# Truffle: Queue and SizedQueue are defined in Java

0 comments on commit 8fbb98c

Please sign in to comment.