Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2061693 | 5.0 | Chris Hegarty | P2 | Closed | Fixed | b03 |
JDK-2061692 | 1.4.2 | Chris Hegarty | P2 | Closed | Fixed | b19 |
JDK-2061691 | 1.4.1_03 | Chris Hegarty | P2 | Closed | Fixed | 03 |
on the shell prompt, java process dies.
Here is how to reproduce
-- have a bourne shell by typing /bin/sh
-- do javac a.java
a.java is listed below
-- run a by typing java a &
This will return to shell prompt because process was started in background.
Now, hit CTRL-C, java process will die.
--------------
a.java
public class a {
public static void main(String[] args) {
while (true) {
System.out.println("I am in while loop");
}
}
}
---------------------------
Please make a note that it happens only with java 1.4 and bourne shell.
Here is the output of java -version command
java version "1.4.0"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92)
Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode)
- backported by
-
JDK-2061691 background java process dies by CTRL-C on starting shell
-
- Closed
-
-
JDK-2061692 background java process dies by CTRL-C on starting shell
-
- Closed
-
-
JDK-2061693 background java process dies by CTRL-C on starting shell
-
- Closed
-
- duplicates
-
JDK-4412451 Shutdown Hook called when nohup is used to launch process
-
- Closed
-
-
JDK-4830313 RegTest-cte CTE_REGTEST/Generic/4784574/Test4784574.java fails
-
- Closed
-
-
JDK-4811663 REGRESSION: Bkgnd Process Dies When Ctrl-C is issued from parent Bourne shell
-
- Closed
-
- relates to
-
JDK-4755829 JVM 1.3.1-04 and Pre-release of JVM 1.3.1-05 ignoring nohup(1) command
-
- Closed
-
-
JDK-4696207 Ctrl-C in terminal used to start Sanbox Manager causing the GUI to exit
-
- Closed
-
-
JDK-4840407 Ctrl-C in linux/sunOS is killing the foreground process and all of its children
-
- Closed
-