Modify

Opened 15 years ago

Last modified 15 years ago

#214 new defect

Separate compilation does not work with transparent replicated objects

Reported by: hauma Owned by: hauma
Priority: normal Milestone: 2.0
Component: jpc Version: 1.09a
Severity: critical Keywords:
Cc:

Description

If compiling the follwing two class files at once, everything works fine. When compiling first A.java and then B.java, the compiler complains about B.java:6: variable x not found in class A during the compilation of B.java.

A.java:

replicated class A {
    static int x;
}

B.java:

class B {
    static {
        A.x = 13;
    }
}

Attachments (0)

Change History (1)

comment:1 Changed 15 years ago by hauma

  • Severity changed from normal to critical

Compiling with broken separate compilation is highly annoying!

Add Comment

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain hauma.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from hauma to the specified user. Next status will be 'new'.
The owner will be changed from hauma to anonymous. Next status will be 'assigned'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.