Bug 27855 - [PATCH]StructuralVerifier can't find protected fields of super classes
Summary: [PATCH]StructuralVerifier can't find protected fields of super classes
Status: RESOLVED FIXED
Alias: None
Product: BCEL - Now in Jira
Classification: Unclassified
Component: Main (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: issues@commons.apache.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-22 18:04 UTC by Stephan Michels
Modified: 2005-07-31 01:07 UTC (History)
0 users



Attachments
Patch for InstConstraintVisitor.java (1.23 KB, patch)
2004-03-22 18:05 UTC, Stephan Michels
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stephan Michels 2004-03-22 18:04:48 UTC
The InstConstraintVisitor didn't find a protected field 
of the super class, like

abstract Town {
  protected int size;
}

class NewYork extends Town {
  public int getSize() {
    return size;
  }
}
Comment 1 Stephan Michels 2004-03-22 18:05:54 UTC
Created attachment 10914 [details]
Patch for InstConstraintVisitor.java
Comment 2 Dave Brosius 2005-07-31 09:07:58 UTC
applied to svn, with a few changes.