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.
In some cases Fastjavac compiles sources without errors which will not be compiled by Sun JDK's Javac. Following is the code which shows this behaviour. If the visibility of the top level inner class "StaticInnerClass" in the baseclass "FastJavacBugTestA_Base" is private, javac shows this error when compiling the derived class "FastJavacTestA_Derived": FastJavacBugTestA_Derived.java [19:1] doNothing() inFastJavacBugTestA_Base.StaticInnerClass is not defined in a public class or interface; cannot be accessed from outside package In contrary, FastJavac compiles the same code without errors (which shouldn't be the case). If the visibility of the top level inner class "StaticInnerClass" in the baseclass is changed (to anything else than private), the code is correctly compiled by both compilers. Test Code: public class FastJavacBugTestA_Base { protected StaticInnerClass member; public FastJavacBugTestA_Base() { member = new StaticInnerClass(); } private static class StaticInnerClass { public void doNothing() { } } } public class FastJavacBugTestA_Derived extends FastJavacBugTestA_Base { public FastJavacBugTestA_Derived() { super(); member.doNothing(); } }
Assigning to Ivan Bradac
Changing subcomponent & issue owner. Honzo, can you please note here whether you've already contacted fastjavac team with this issue and if so what's the BugParade BugID ?
Eeee... sorry, both Jirka and Honza. Mozilla has autocompleted the e-mail after I've typed jk. I should be more careful next time.
Has been forwarded to the Sun's fastjavac team.
Resolved for 3.3.x or earlier, no new info since then -> closing.
Resolved for 3.4.x or earlier, no new info since then -> closing.
A mistakenly closed RESOLVED LATER/REMIND issue. Reopening.
Fastjavac is not supported anymore and since it is a close source there is no reason to keep this as open issue.
Reorganization of java component