From efe04a5215d60c20c36f87844b097ba126e57075 Mon Sep 17 00:00:00 2001 From: mihaylov Date: Thu, 2 Dec 2004 16:26:18 +0000 Subject: - Use scala.runtime.compat.Platform to make the... - Use scala.runtime.compat.Platform to make the test case platform independant --- test/files/run/exceptions.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/files/run/exceptions.scala') diff --git a/test/files/run/exceptions.scala b/test/files/run/exceptions.scala index 3a4ce70ca3..1165308464 100644 --- a/test/files/run/exceptions.scala +++ b/test/files/run/exceptions.scala @@ -35,7 +35,7 @@ object exceptions { val value = try { map.lookup(key) } catch { - case e => e.getMessage() + case e => scala.runtime.compat.Platform.getMessage(e) } check("lookup(" + key + ")", value, "KO"); } -- cgit v1.2.3