Source Explorer for Java (v0.1) |
|
These are some of the known bugs. There could be few more. Please let me know when you find bugs in this tool. Please send your feedback to sdonthy@hotmail.com Known Bugs 1. Class Loader hangs (may even crash) when it does not find a class it needs to resolve while imported classes from a zip/jar.
If the JVM throws java.lang.UnsatisfiedLinkError then try to fix the PATH or LIBRARY_PATH so that JVM finds necessary native libraries and DLLs to resolve the imported class files. For example if you are importing zip/jar files for a class library that uses AFC and if AFC related class files are not in the CLASSPATH OR if they are not part of the imported zip/jar file then this tool hangs trying to load the missing class file. WORKAROUND: First import all class libraries before importing dependent products/libraries. For example, import JDK before importing JFC... Important: Before importing impure java class libraries, import the necessary dynamic or system libraries.2. Tool fails to import java.util.TimeZoneData.class from JDK. God knows why it is different from rest of the class files. Probably somebody could enlighten me why core reflection mechanisms fail for this class alone, when I import jdk1.1.x\lib\classes.zip WORKAROUND: None. Why should you care to load .class files for JDK ? We have access to all source files. Why not import source files instead of classes.zip ? 3. Tool hangs when JVM is running low on memory. When we all move to JDK1.2 I will fix this problem using "Weak References". For now, use the workaround. WORKAROUND: Try restarting the application. This is usually a problem when users import lots of source files in one single session. It is always best to restart the application after a huge import. I would like to fix this bug after getting some feedback from you people. 4. When user selects an HTML to be loaded in JavaDoc view, tool might throw enormous amounts of warnings and errors. These messages are coming from JFC. I can not fix these problems.
Warnings Failed to locate a super class sun.misc.Ref for
java.io.ObjectStreamClassEntry When you import JDK 1.x source files, you might see above messages on the log view panel. Please note that these are not errors. As JavaSoft did not include the source files for some of the classes and this tool failed to resolve relationships between classes due to those missing source files. Expect to see more such warnings when you import JDK1.2 source files. Similarly you would get following warning when you import JFC source files. Failed to locate a super class BasicStandardDialogUI for com.sun.java.swing.plaf.windows.WindowsStandardDialogUI
Following messages will be displayed when JDK1.2beta4 Source is imported: Failed to locate base interface DebuggerCallback for sun.tools.ttydebug.TTY It means, the tool did not find the listed source files to resolve the class files. |