Skip to content

Commit

Permalink
Merge PR #132: Update Truffle to 0.25
Browse files Browse the repository at this point in the history
  • Loading branch information
smarr committed Apr 23, 2017
2 parents dbcd883 + 801a26d commit 8004a11
Show file tree
Hide file tree
Showing 65 changed files with 816 additions and 620 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

## [Unreleased] - [Work in Progress][v4]

-
- Updated to Truffle 0.25

## [0.3.0] - [2017-04-06 <Programming>'17 Demo][v3]

Expand Down
2 changes: 1 addition & 1 deletion libs/truffle
Submodule truffle updated 375 files
24 changes: 24 additions & 0 deletions src/som/UncaughtExceptions.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
package som;

import java.lang.Thread.UncaughtExceptionHandler;

import tools.concurrency.TracingActivityThread;


/**
* In case an actor processing thread terminates, provide some info.
*/
public final class UncaughtExceptions implements UncaughtExceptionHandler {

@Override
public void uncaughtException(final Thread t, final Throwable e) {
if (e instanceof ThreadDeath) {
// Ignore those, we already signaled an error
return;
}
TracingActivityThread thread = (TracingActivityThread) t;
VM.errorPrintln("Processing failed for: "
+ thread.getActivity().toString());
e.printStackTrace();
}
}
Loading

0 comments on commit 8004a11

Please sign in to comment.