Commit d5b0558f by Bryce McKinlay Committed by Bryce McKinlay

MainThread (run): Revert exception chaining change.

2006-06-01  Bryce McKinlay  <mckinlay@redhat.com>

	* gnu/java/lang/MainThread (run): Revert exception chaining change.

From-SVN: r114303
parent ea60341e
2006-06-01 Bryce McKinlay <mckinlay@redhat.com>
* gnu/java/lang/MainThread (run): Revert exception chaining change.
2006-05-31 Bryce McKinlay <mckinlay@redhat.com> 2006-05-31 Bryce McKinlay <mckinlay@redhat.com>
* prims.cc (_Jv_RunMain): Use JvNewStringUTF for command-line class * prims.cc (_Jv_RunMain): Use JvNewStringUTF for command-line class
......
...@@ -100,6 +100,7 @@ final class MainThread extends Thread ...@@ -100,6 +100,7 @@ final class MainThread extends Thread
catch (ClassNotFoundException x) catch (ClassNotFoundException x)
{ {
NoClassDefFoundError ncdfe = new NoClassDefFoundError(klass_name); NoClassDefFoundError ncdfe = new NoClassDefFoundError(klass_name);
ncdfe.initCause(x);
throw ncdfe; throw ncdfe;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment