Name: mf23781 Date: 08/24/98
*Test case:
public class J8_Ex1
{
public static void main( String [] args )
{
J8_C1 o = new J8_C1();
}
}
class J8_C1
{
public J8_C1() { super(); i=5; }
public int i;
}
*Steps to reproduce the problem:
jdb J8_Ex1
stop in J8_Ex1
run
step
step
stop in java.lang.Object.clone
*Outputs:
1.1.6
============
P:\defects\6740>jdb J8_Ex1
Initializing jdb...
Warning: JIT compiler "symcjit" not found. Will use interpreter.
0xf9fab8:class(J8_Ex1)
> stop in J8_Ex1.main
Breakpoint set in J8_Ex1.main
> run
run J8_Ex1
running ...
main[1]
Breakpoint hit: J8_Ex1.main (J8_Ex1:7)
main[1] step
main[1]
Breakpoint hit: J8_C1.<init> (J8_C1:14)
main[1] step
Breakpoint hit: java.lang.Object.<init> (Object:35)
main[1] main[1] stop in java.lang.Object.clone
Fatal exception: java.net.SocketException: Connection reset by peer
java.net.SocketException: Connection reset by peer
at java.net.SocketInputStream.read(Compiled Code)
at java.io.BufferedInputStream.fill(Compiled Code)
at java.io.BufferedInputStream.read(Compiled Code)
at java.io.FilterInputStream.read(Compiled Code)
at sun.tools.debug.AgentIn.run(Compiled Code)
at java.lang.Thread.run(Thread.java:474)
J8_Ex1 exited
1.1.7H
============
P:\defects\6740>jdb J8_Ex1
Initializing jdb...
0xf9ff48:class(J8_Ex1)
> stop in J8_Ex1.main
Breakpoint set in J8_Ex1.main
> run
run J8_Ex1
running ...
main[1]
Breakpoint hit: J8_Ex1.main (J8_Ex1:7)
main[1] step
main[1]
Breakpoint hit: J8_C1.<init> (J8_C1:14)
main[1] step
main[1]
Breakpoint hit: java.lang.Object.<init> (Object:27)
main[1] stop in java.lang.Object.clone
Fatal exception: java.net.SocketException: Connection reset by peer
java.net.SocketException: Connection reset by peer
at java.net.SocketInputStream.read(Compiled Code)
at java.io.BufferedInputStream.fill(Compiled Code)
at java.io.BufferedInputStream.read(Compiled Code)
at java.io.FilterInputStream.read(FilterInputStream.java:73)
at sun.tools.debug.AgentIn.run(Compiled Code)
at java.lang.Thread.run(Thread.java:466)
J8_Ex1 exited
1.2fcs-E
=========
P:\defects\6740>jdb J8_Ex1
Initializing jdb...
0xa9:class(J8_Ex1)
> stop in J8_Ex1.main
Breakpoint set in J8_Ex1.main
> run
run J8_Ex1
running ...
main[1]
Breakpoint hit: J8_Ex1.main (J8_Ex1:7)
main[1] step
main[1]
Breakpoint hit: java.lang.ClassLoader.loadClass (ClassLoader:202)
main[1] step
main[1]
Breakpoint hit: sun.misc.Launcher$AppClassLoader.loadClass (Launcher$AppClassLoa
der:292)
main[1] stop in java.lang.Object.clone
======================================================================