equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2001, 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2001, 2016, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
32 import java.io.IOException; |
32 import java.io.IOException; |
33 import java.io.InputStream; |
33 import java.io.InputStream; |
34 |
34 |
35 /* |
35 /* |
36 * @test |
36 * @test |
|
37 * @key headful |
37 * @bug 4532299 4648733 |
38 * @bug 4532299 4648733 |
38 * @summary Tests that getting clipboard contents on the interrupted thread will |
39 * @summary Tests that getting clipboard contents on the interrupted thread will |
39 * not cause deadlock.Also check that lostOwnership event occurs while |
40 * not cause deadlock.Also check that lostOwnership event occurs while |
40 * cross-JVM interaction |
41 * cross-JVM interaction |
41 * @author Kanishk Jethi |
42 * @author Kanishk Jethi |