Sun Microsystems announced Tuesday it has finished the process of making the bulk of its core Java technology available as open-source software under the GNU general public license version 2 (GPLv2).
When translating Java source code, the compiler needs to know the definition of types it has not yet seen. This includes your application classes and core classes like java.lang.StringBuffer.