| Author |
sun.rmi.transport.tcp.TCPTransport source code
|
Jiafan Zhou
Ranch Hand
Joined: Sep 28, 2005
Posts: 192
|
|
As the subject indicates, where can I find the source code of sun.rmi.transport.tcp.TCPTransport and its related package? It is part of the rt.jar
Thanks
|
SCJP, SCJD, SCWCD, SCBCD, SCEA
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
|
You can't. The packages that start with sun, sunw and com.sun are Sun's own, proprietary classes. You could try to decompile the class but you may break the law doing that.
|
SCJP 1.4 - SCJP 6 - SCWCD 5
How To Ask Questions How To Answer Questions
|
 |
Jiafan Zhou
Ranch Hand
Joined: Sep 28, 2005
Posts: 192
|
|
Actually just a few minutes ago, I found the source code of the package sun.xxx at the following link.
http://java.sun.com/j2se/jrl_download.html
To be more specific, if you download the zip file and unzip to a directory, sun.rmi.transport.tcp.TCPTransport is located at:
j2se/src/share/classes/sun/rmi/transport/tcp/TCPTransport.java
Thanks
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
|
Well blow me down. I never knew Sun released those. Perhaps you can also find the source for Java 6?
|
 |
Joanne Neal
Rancher
Joined: Aug 05, 2005
Posts: 3011
|
|
Rob Prime wrote:Perhaps you can also find the source for Java 6?
You can get that from the Java SE download page. Just scroll down to the additional resources section.
|
Joanne
|
 |
Rob Spoor
Sheriff
Joined: Oct 27, 2005
Posts: 19216
|
|
Thanks!
|
 |
 |
|
|
subject: sun.rmi.transport.tcp.TCPTransport source code
|
|
|