2
0
Эх сурвалжийг харах

Optimize java.internal.HaxeException

杨博 11 жил өмнө
parent
commit
e2c7279053

+ 5 - 0
std/java/internal/Exceptions.hx

@@ -61,6 +61,11 @@ class Exceptions {
 		return obj;
 	}
 
+	@:overload @:protected override function fillInStackTrace():Throwable
+	{
+		return this;
+	}
+
 	@:overload override public function toString():String
 	{
 		return "Haxe Exception: " + obj;