summaryrefslogtreecommitdiffstats
path: root/pki/base/common/src/com/netscape/cmscore/util
diff options
context:
space:
mode:
authorAdam Young <ayoung@redhat.com>2011-11-10 22:12:52 -0500
committerAdam Young <ayoung@redhat.com>2011-12-06 11:20:03 -0500
commit6119a0222dee4953d51311489d8863daa62d9b14 (patch)
treedc30408d3be499e1f84c1c49d41bbc109731fb7a /pki/base/common/src/com/netscape/cmscore/util
parent3c1a4af339dc1761b3a68abe9b0f26bd3cb389cf (diff)
downloadpki-6119a0222dee4953d51311489d8863daa62d9b14.tar.gz
pki-6119a0222dee4953d51311489d8863daa62d9b14.tar.xz
pki-6119a0222dee4953d51311489d8863daa62d9b14.zip
call statics statically
https://bugzilla.redhat.com/show_bug.cgi?id=728303 Updated with changes from code review Leaving in the warning in GenericASN1Extension, ans that is an indication of a real problem, which will get addressed in a separate patch.
Diffstat (limited to 'pki/base/common/src/com/netscape/cmscore/util')
-rw-r--r--pki/base/common/src/com/netscape/cmscore/util/ProfileSubsystem.java9
1 files changed, 6 insertions, 3 deletions
diff --git a/pki/base/common/src/com/netscape/cmscore/util/ProfileSubsystem.java b/pki/base/common/src/com/netscape/cmscore/util/ProfileSubsystem.java
index 85c2a5af..2d8e63c9 100644
--- a/pki/base/common/src/com/netscape/cmscore/util/ProfileSubsystem.java
+++ b/pki/base/common/src/com/netscape/cmscore/util/ProfileSubsystem.java
@@ -212,7 +212,7 @@ public class ProfileSubsystem extends Frame implements ISubsystem, Runnable {
updateGeneralPanel();
updateThreadPanel();
// update every second
- mMonitoring.sleep(1000);
+ Thread.sleep(1000);
} catch (Exception e) {
}
}
@@ -294,8 +294,11 @@ class ThreadTableEvent extends MouseAdapter {
continue;
PrintStream err = System.err;
- System.setErr(new PrintStream(outArray));
- threads[i].dumpStack(); // not working, print only current thread
+ System.setErr(new PrintStream(outArray));
+ //TODO remove. This was being called on the array object
+ //But you can only dump stack on the current thread
+ Thread.dumpStack();
+
System.setErr(err);
}