Secure Coding Guidelines for the Java Programming Language
It may be a good idea to try to follow the principles outlines in the following document:
Secure Coding Guidelines for the Java Programming Language.
All points are important at their place but those mentioned under "1. Accessibility and Extensibility" apply to basically every class of a system and are particularly important for the most essential core classes and packages of JNode.
It will be a good read to all.