Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 13823 Details for
Bug 68927
'non-static access to static member' problem not reported for super field access
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Apply on HEAD
patch_jdt_core_for_68927.txt (text/plain), 917 bytes, created by
Olivier Thomann
on 2004-08-09 11:42:52 EDT
(
hide
)
Description:
Apply on HEAD
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2004-08-09 11:42:52 EDT
Size:
917 bytes
patch
obsolete
>Index: compiler/org/eclipse/jdt/internal/compiler/ast/FieldReference.java >=================================================================== >RCS file: /data/cvs/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/FieldReference.java,v >retrieving revision 1.62 >diff -u -r1.62 FieldReference.java >--- compiler/org/eclipse/jdt/internal/compiler/ast/FieldReference.java 11 Jul 2004 12:37:08 -0000 1.62 >+++ compiler/org/eclipse/jdt/internal/compiler/ast/FieldReference.java 9 Aug 2004 15:30:22 -0000 >@@ -506,7 +506,6 @@ > if (binding.isStatic()) { > // static field accessed through receiver? legal but unoptimal (optional warning) > if (!(isImplicitThisRcv >- || receiver.isSuper() > || (receiver instanceof NameReference > && (((NameReference) receiver).bits & BindingIds.TYPE) != 0))) { > scope.problemReporter().nonStaticAccessToStaticField(this, binding);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 68927
: 13823 |
13824