diff --git a/src/share/classes/java/lang/Object.java b/src/share/classes/java/lang/Object.java index d4bf7f655422539e22251afe260229e49a3dd6da..bff85ddcb43b881e32751d2e38fbed4f0c50595c 100644 --- a/src/share/classes/java/lang/Object.java +++ b/src/share/classes/java/lang/Object.java @@ -453,7 +453,7 @@ public class Object { "nanosecond timeout value out of range"); } - if (nanos >= 500000 || (nanos != 0 && timeout == 0)) { + if (nanos > 0) { timeout++; }