aspose file tools*
The moose likes Java in General and the fly likes where i can download the source code for sun.misc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "where i can download the source code for sun.misc " Watch "where i can download the source code for sun.misc " New topic
Author

where i can download the source code for sun.misc

luri ron
Ranch Hand

Joined: Dec 11, 2008
Posts: 87
where i can download the source code for sun.misc?
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19783
    
  20

It may be part of the JDK's own source (http://java.sun.com/javase/downloads/index.jsp, see "Java SE 6 JDK Source Code"). If it isn't then you're out of luck, because it simply will not be publicly available.

You should know that using classes inside any package that starts with sun, sunw or com.sun is discouraged as they can change or even disappear without any notice, and your program may be broken if that occurs. For instance, I've seen one program that only works for Java 1.4.2_08. Even Java 1.4.2_10 broke the program because it could not find such a class.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 42915
    
  68
The most commonly used class from that package is probably the base-64 encoder/decoder; if that's what you're looking for, then you should use the Apache Commons Codec library instead.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: where i can download the source code for sun.misc