Modify

Opened 15 years ago

#218 new defect

Broken transparent replicated class transformation (initializer of instance variable)

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

Description

The compiler does reject the following code, where it should not:

replicated class A {
    static int x = 10;
    int y = x;
}

It makes the following excuses:

A.java:52: variable x not found in class A
  int y = x;
          ^
1 errors

Attachments (0)

Change History (0)

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.