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.

Bug 8314 - fastjavac wrong compile files
Summary: fastjavac wrong compile files
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: -FFJ-
Hardware: PC Windows ME/2000
: P3 normal (vote)
Assignee: Ivan Bradac
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-11-09 12:33 UTC by Richard Malaschitz
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Richard Malaschitz 2000-11-09 12:33:28 UTC
When I have inner class [Bin] in inherit class ([B] class inherit [A]), and I
from [Bin] call method from [A], this method must be public (if class [B] is in
other package as class [A]). fastjavac don't throw exception !  (javac throw
error) and create .class files. These clases throw exception during execution.

-----[class A]------------------------------------------
package pack1.pack11;

public abstract class A {
    void a1() {
        System.out.println("a1");
    }
}
-----[class B]------------------------------------------
package pack1.pack12;

public class B extends pack1.pack11.A {

    static public void main(String[] args) {
        System.out.println("ok");
    }

    class Bin {
        public void Bin1() {
            a1();
        }
    }
}
------------------------------------------
Comment 1 Svata Dedic 2001-01-17 16:01:59 UTC
As other team does fastjavac development, there's nothing we can do for fixing
the bug than hand over the bug descriptions to the responsible team (already
done). We will send out a message to nbusers@ and nbdev@ if/when new release of
fastjavac will be available.
Comment 2 Svata Dedic 2001-02-14 13:57:59 UTC
Reopening/reassigning to Sustaining team.
Comment 3 Ivan Bradac 2001-02-16 11:47:55 UTC
Has been forwarded to the Sun's fastjavac team.
Comment 4 Ivan Bradac 2001-04-19 10:38:40 UTC
Fixed in dev and maintrunk.
Comment 5 Ivan Bradac 2001-04-19 10:39:03 UTC
Fixed in dev and maintrunk.
Comment 6 Quality Engineering 2003-07-01 13:15:43 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.