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 17659 Details for
Bug 84345
[1.5][compiler] Widening reference is possible when boxing in a cast expression
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Apply on HEAD
patch_for_84345.txt (text/plain), 821 bytes, created by
Olivier Thomann
on 2005-02-03 11:59:01 EST
(
hide
)
Description:
Apply on HEAD
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2005-02-03 11:59:01 EST
Size:
821 bytes
patch
obsolete
>Index: Expression.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Expression.java,v >retrieving revision 1.61 >diff -u -r1.61 Expression.java >--- Expression.java 2 Feb 2005 23:15:36 -0000 1.61 >+++ Expression.java 3 Feb 2005 16:56:30 -0000 >@@ -253,7 +253,8 @@ > return false; > } else if (use15specifics > && expressionType.isBaseType() >- && env.computeBoxingType(castType) == expressionType) { // boxing - only exact match is allowed >+ && env.computeBoxingType(expressionType).isCompatibleWith(castType)) { >+ // boxing - only compatible match is allowed: byte is compatible with java.lang.Number > tagAsUnnecessaryCast(scope, castType); > return true; > }
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 84345
: 17659