-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
1.2.0
-
sparc
-
solaris_2.6
Name: rm29839 Date: 01/21/98
The following Java program never completes:
import java.lang.*;
public class Test
{
static public void main(String args[]) {
System.out.println("Launcing rmid");
try { Runtime.getRuntime().exec("rmid"); }
catch (java.io.IOException e) {
System.out.println(e);
System.exit(1);
}
System.out.println("Waiting");
try { Thread.currentThread().sleep(3000); }
catch (InterruptedException e) { }
System.out.println("Done");
}
}
The sleep never returns. It will return if I kill
the rmid processes. It will return if I remove the
very first print statement ("Launching rmid"). It
will return if I exec something other than rmid.
It will return if I use green threads instead of
native threads. I've tried this on a number of
different machines. I even re-installed JDK1.2.
This worked before our sys admin installed the
following set of Solaris patches:
105580-02
105722-01
105724-01
105795-01
Have fun.
(Review ID: 23304)
======================================================================