summaryrefslogtreecommitdiff
path: root/test/files/run/try.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/try.scala')
-rw-r--r--test/files/run/try.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/try.scala b/test/files/run/try.scala
index fca6bf5c55..934ebaa2e7 100644
--- a/test/files/run/try.scala
+++ b/test/files/run/try.scala
@@ -43,12 +43,12 @@ object Test extends AnyRef with Application {
def try4 = {
if (instance == null) {
instance = try {
- new String();
+ "" //new String();
} catch {
case _ =>
val cs = "aaa";
if (cs.length() > 0) {
- new String();
+ "" //new String();
} else {
throw new Error("fatal error");
null