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 17988 Details for
Bug 85397
[1.5][enum] erroneous strictfp keyword on enum type produces error on constructor
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Apply on HEAD
patch_85397.txt (text/plain), 1.06 KB, created by
Olivier Thomann
on 2005-02-16 10:30:23 EST
(
hide
)
Description:
Apply on HEAD
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2005-02-16 10:30:23 EST
Size:
1.06 KB
patch
obsolete
>Index: compiler/org/eclipse/jdt/internal/compiler/lookup/MethodScope.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/MethodScope.java,v >retrieving revision 1.46 >diff -u -r1.46 MethodScope.java >--- compiler/org/eclipse/jdt/internal/compiler/lookup/MethodScope.java 11 Feb 2005 18:56:47 -0000 1.46 >+++ compiler/org/eclipse/jdt/internal/compiler/lookup/MethodScope.java 16 Feb 2005 15:27:47 -0000 >@@ -85,7 +85,7 @@ > // check for abnormal modifiers > int unexpectedModifiers = ~(AccPublic | AccPrivate | AccProtected | AccStrictfp); > if (declaringClass.isEnum() && !((ConstructorDeclaration) referenceContext).isDefaultConstructor) { >- unexpectedModifiers = ~AccPrivate; >+ unexpectedModifiers = ~(AccPrivate | AccStrictfp); > if ((realModifiers & unexpectedModifiers) != 0) > problemReporter().illegalModifierForEnumConstructor((AbstractMethodDeclaration) referenceContext); > } else if ((realModifiers & unexpectedModifiers) != 0) {
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 85397
: 17988