This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I have a class which compiles fine with the "External Compilation" compiler. However when switching to fastjavac I get a compiler error "Class xxx not found in type declaration or input" on an import line: Here is the sourcecode which does not compile with fastjavac but with javac. import javax.crypto.spec.SecretKeySpec; public class MyCipher { private static final byte[] KEY_DATA = null; private static final SecretKeySpec KEY = new SecretKeySpec(KEY_DATA, "DES"); } The error message is as follows: MyCipher.java [1:1] Class SecretKeySpec not found in type declaration or import. import javax.crypto.spec.SecretKeySpec; ^ MyCipher.java [6:1] Class SecretKeySpec not found in type declaration or import. private static final SecretKeySpec KEY = new SecretKeySpec(KEY_DATA, "DES"); ^ 2 errors Errors compiling MyCipher [Local]. It looks like fastjavac does not include the standard 1.4.1 libraries during compilation.
This bug fixed in fastjavac build #535
Cannot verify. There is fastjavac 534 in the trunk
Reorganization of java component