equal
deleted
inserted
replaced
44 * @run main/othervm/policy=policy -Djava.security.manager -Djava.util.logging.manager=testgetglobal.DummyLogManagerImpl TestGetGlobalConcurrent |
44 * @run main/othervm/policy=policy -Djava.security.manager -Djava.util.logging.manager=testgetglobal.DummyLogManagerImpl TestGetGlobalConcurrent |
45 * @author danielfuchs |
45 * @author danielfuchs |
46 */ |
46 */ |
47 public class TestGetGlobalConcurrent { |
47 public class TestGetGlobalConcurrent { |
48 |
48 |
49 final static String[] messages = { |
49 static final String[] messages = { |
50 "1. This message should not appear on the console.", |
50 "1. This message should not appear on the console.", |
51 "2. This message should appear on the console.", |
51 "2. This message should appear on the console.", |
52 "3. This message should now appear on the console too.", |
52 "3. This message should now appear on the console too.", |
53 "4. This message should appear on the console.", |
53 "4. This message should appear on the console.", |
54 "5. This message should now appear on the console too.", |
54 "5. This message should now appear on the console too.", |
133 fail(x); |
133 fail(x); |
134 } |
134 } |
135 } |
135 } |
136 } |
136 } |
137 |
137 |
138 final static class Run1 implements Runnable { |
138 static final class Run1 implements Runnable { |
139 public void run() { test1(); } |
139 public void run() { test1(); } |
140 } |
140 } |
141 final static class Run2 implements Runnable { |
141 static final class Run2 implements Runnable { |
142 public void run() { test2(); } |
142 public void run() { test2(); } |
143 } |
143 } |
144 final static class Run3 implements Runnable { |
144 static final class Run3 implements Runnable { |
145 public void run() { test3(); } |
145 public void run() { test3(); } |
146 } |
146 } |
147 final static class Run4 implements Runnable { |
147 static final class Run4 implements Runnable { |
148 public void run() { test4(); } |
148 public void run() { test4(); } |
149 } |
149 } |
150 |
150 |
151 static String description = "Unknown"; |
151 static String description = "Unknown"; |
152 |
152 |