Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion test/jdk/java/util/concurrent/tck/ExecutorsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,6 @@ public void realRun() {
* ThreadPoolExecutor using defaultThreadFactory has
* specified group, priority, daemon status, and name
*/
@SuppressWarnings("removal")
public void testDefaultThreadFactory() throws Exception {
final ThreadGroup egroup = Thread.currentThread().getThreadGroup();
final CountDownLatch done = new CountDownLatch(1);
Expand Down
1 change: 0 additions & 1 deletion test/jdk/java/util/concurrent/tck/JSR166TestCase.java
Original file line number Diff line number Diff line change
Expand Up @@ -1169,7 +1169,6 @@ static boolean threadOfInterest(ThreadInfo info) {
* A debugging tool to print stack traces of most threads, as jstack does.
* Uninteresting threads are filtered out.
*/
@SuppressWarnings("removal")
static void dumpTestThreads() {
System.err.println("------ stacktrace dump start ------");
for (ThreadInfo info : THREAD_MXBEAN.dumpAllThreads(true, true))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1997,19 +1997,10 @@ public void testGet_cancelled() throws Exception {
}
}
}
@SuppressWarnings("deprecation")
public void testFinalizeMethodCallsSuperFinalize() {
new CustomTPE(1, 1,
LONG_DELAY_MS, MILLISECONDS,
new LinkedBlockingQueue<Runnable>()) {

/**
* A finalize method without "throws Throwable", that
* calls super.finalize().
*/
protected void finalize() {
super.finalize();
}
}.shutdown();
}

Expand Down