aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.lang/PR18699.java
diff options
context:
space:
mode:
authorAndrew Haley <aph@redhat.com>2016-09-30 16:24:48 +0000
committerAndrew Haley <aph@gcc.gnu.org>2016-09-30 16:24:48 +0000
commit07b78716af6a9d7c9fd1e94d9baf94a52c873947 (patch)
tree3f22b3241c513ad168c8353805614ae1249410f4 /libjava/testsuite/libjava.lang/PR18699.java
parenteae993948bae8b788c53772bcb9217c063716f93 (diff)
downloadgcc-07b78716af6a9d7c9fd1e94d9baf94a52c873947.zip
gcc-07b78716af6a9d7c9fd1e94d9baf94a52c873947.tar.gz
gcc-07b78716af6a9d7c9fd1e94d9baf94a52c873947.tar.bz2
Makefile.def: Remove libjava.
2016-09-30 Andrew Haley <aph@redhat.com> * Makefile.def: Remove libjava. * Makefile.tpl: Likewise. * Makefile.in: Regenerate. * configure.ac: Likewise. * configure: Likewise. * gcc/java: Remove. * libjava: Likewise. From-SVN: r240662
Diffstat (limited to 'libjava/testsuite/libjava.lang/PR18699.java')
-rw-r--r--libjava/testsuite/libjava.lang/PR18699.java36
1 files changed, 0 insertions, 36 deletions
diff --git a/libjava/testsuite/libjava.lang/PR18699.java b/libjava/testsuite/libjava.lang/PR18699.java
deleted file mode 100644
index 6f81e10..0000000
--- a/libjava/testsuite/libjava.lang/PR18699.java
+++ /dev/null
@@ -1,36 +0,0 @@
-// Test for thread-local allocation problems.
-
-import java.util.HashMap;
-import java.util.Observable;
-import java.util.Observer;
-
-class PR18699 extends Observable implements Runnable, Observer {
-
- public static void main(String[] args) throws InterruptedException {
- PR18699 PR18699_1 = new PR18699();
- PR18699 PR18699_2 = new PR18699();
- PR18699_1.addObserver(PR18699_2);
- PR18699_2.addObserver(PR18699_1);
- new Thread(PR18699_1).start();
- new Thread(PR18699_2).start();
- }
-
- public void run() {
- int c = 0;
- String s = "";
- while (++c < 50) {
- this.setChanged();
- s = "";
- for (int i = 0; i < 200; i++)
- s += String.valueOf(i);
- this.notifyObservers(s);
- }
- }
-
- HashMap map = new HashMap();
-
- public void update(Observable o, Object obj)
- {
- map.put(o, obj);
- }
-}