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.
Using these class definitions> ---------- Package 1 ------------- package package1; public class ADS { public ADS () {} public AmsAddr getAmsAddr() { return new AmsAddr(); } } class AmsAddr { public short port; public short getPort(){ return port; } } --------- Package 2 ------------------------------- package package2; import package1.*; public class TestFrame { private TestFrame () {} private void aaa() { ADS myADS = new ADS(); System.out.println("ADS AmsAddr.port: "+myADS.getAmsAddr().getPort()); System.out.println("ADS AmsAddr.port: "+myADS.getAmsAddr().port); } } ----------------------------- The fastjavac does throw error only at the second Sys.out line, but it should throw two errors on both Sys.out lines.
Has been forwarded to the Sun's fastjavac team.
Fixed in dev and maintrunk.
Resolved for 3.4.x or earlier, no new info since then -> closing.