From efc5b59b2fcfa6c691da982451fa5d1d4e49bb3a Mon Sep 17 00:00:00 2001 From: bdemsky Date: Sat, 23 Oct 2010 08:41:28 +0000 Subject: [PATCH] another bad case --- Robust/src/Tests/rcr/test.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Robust/src/Tests/rcr/test.java b/Robust/src/Tests/rcr/test.java index f546912b..9e816e81 100644 --- a/Robust/src/Tests/rcr/test.java +++ b/Robust/src/Tests/rcr/test.java @@ -1,24 +1,24 @@ public class test { - int f; + foo f; public test() {} public static void main(String xz[]) { test[] r=new test[10]; for(int i=0;i<10;i++) { - r[i]=new test();r[i].f=0; + r[i]=new test();r[i].f=new foo(); } for (int z=0;z<100000;z++) { for (int i=0;i<10;i++) { test x=r[i]; sese foo { - int t=x.f; - x.f=t+1; + int t=x.f.x; + x.f.x=t+1; } } } for(int i=0;i<10;i++) - System.out.println(r[i].f); + System.out.println(r[i].f.x); } } -- 2.34.1