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 109363 Details for
Bug 242933
[1.5] NullPointerException for @Range(min=1, max=9999999999999999)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix
patch_242933.txt (text/plain), 983 bytes, created by
Olivier Thomann
on 2008-08-06 22:16:33 EDT
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2008-08-06 22:16:33 EDT
Size:
983 bytes
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: model/org/eclipse/jdt/internal/core/util/Util.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/Util.java,v >retrieving revision 1.121 >diff -u -r1.121 Util.java >--- model/org/eclipse/jdt/internal/core/util/Util.java 27 Jun 2008 16:03:56 -0000 1.121 >+++ model/org/eclipse/jdt/internal/core/util/Util.java 7 Aug 2008 02:15:43 -0000 >@@ -3025,6 +3025,10 @@ > * Creates a member value from the given constant, and sets the valueKind on the given memberValuePair > */ > public static Object getAnnotationMemberValue(MemberValuePair memberValuePair, Constant constant) { >+ if (constant == null) { >+ memberValuePair.valueKind = IMemberValuePair.K_UNKNOWN; >+ return null; >+ } > switch (constant.typeID()) { > case TypeIds.T_int : > memberValuePair.valueKind = IMemberValuePair.K_INT;
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 242933
: 109363 |
109364
|
111567