Sun Java Solaris Communities My SDN Account Join SDN
 
Archive - Java Technology Products Download

JavaCheck Technical Notice

 
Technical Notice
JavaCheck | JavaCheck FAQ

This Q&A is provided to assist in answering technical questions you might have if using JavaCheck: 

Q: How does JavaCheck work?  

A: JavaCheck checks your application or applet against the PersonalJava API specification file. This is an encoded text file (SGML compliant) for the PersonalJava 1.1.x API specification with the file extension .spc. JavaCheck reads this .spc file in order to represent the PersonalJava API in memory. It can than test your application or applet for compliance to this API.

Q: If I am using JavaCheck to test applications or applets, and I get a "Modified" status, what does that mean? 

A: Although the PersonalJava API specification contains all of the classes in the JDK, it does reimplement some of these classes in order to accommodate smaller sized devices. JavaCheck reports "Modified" warnings when it reaches a dependency on a class, method, or field whose implementation has changed in the PersonalJava API specification file. JavaCheck cannot determine if your code is specifically affected by the implementation changes, so it throws a "Modified" warning for the class/method/field dependency.

Q: Does a "Modified" warning mean that my app won't run on the specified application environment?  

A: No, a "modified" warning simply means that you should check the specification to find information about the class that causes the warning. The spec should describe the details about implementation changes in that class for the specified application environment. If your application class is not affected by any of these implementation changes, you may ignore the modified warning. Otherwise, there is a possibility that your application may throw an exception on the specified application environment. 

Q: Can I use JavaCheck if I am using the PersonalJava1.1 API?

A: Yes, The current version of JavaCheck (3.0) supports PersonalJava 1.1. Check the JavaCheck website for upcoming details.

Q: Does a public alias exist to send technical comments or questions about JavaCheck?

A: Yes. Technical questions or comments can be sent to:  javacheck-comments@java.sun.com.