aspose file tools*
The moose likes Beginning Java and the fly likes sun.rmi.transport.tcp.TCPTransport source code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "sun.rmi.transport.tcp.TCPTransport source code" Watch "sun.rmi.transport.tcp.TCPTransport source code" New topic
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: 19672
    
  18

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 - OCEEJBD 6
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: 19672
    
  18

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: 3456
    
  12
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: 19672
    
  18

Thanks!
 
Consider Paul's rocket mass heater.
 
subject: sun.rmi.transport.tcp.TCPTransport source code