jdk/test/java/util/logging/LoggingDeadlock3.java
changeset 14683 38921a46c62d
parent 10045 b5804d1415e7
child 14856 92a1bcf46888
--- a/jdk/test/java/util/logging/LoggingDeadlock3.java	Thu Nov 29 09:47:31 2012 +0000
+++ b/jdk/test/java/util/logging/LoggingDeadlock3.java	Thu Nov 29 12:28:02 2012 +0000
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2011, 2012 Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -61,7 +61,7 @@
   public static class GetLogger implements Runnable {
     public void run() {
       for (int cnt = 0; cnt < ITER_CNT * 8; cnt++) {
-        Logger logger = Logger.getLogger("com.sun.Hello"+cnt/10);
+        Logger.getLogger("com.sun.Hello"+cnt/10);
         if (cnt % 1000  == 0) out.print("1");
         if (cnt % 10000 == 0) out.println();
       }