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 51251 Details for
Bug 159456
[1.5][compiler] Enable compiler warning for raw type reference by default
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed patch
159456.txt (text/plain), 2.72 KB, created by
Philipe Mulet
on 2006-10-02 10:22:01 EDT
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Philipe Mulet
Created:
2006-10-02 10:22:01 EDT
Size:
2.72 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: batch/org/eclipse/jdt/internal/compiler/batch/messages.properties >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/messages.properties,v >retrieving revision 1.566 >diff -u -r1.566 messages.properties >--- batch/org/eclipse/jdt/internal/compiler/batch/messages.properties 28 Sep 2006 14:14:29 -0000 1.566 >+++ batch/org/eclipse/jdt/internal/compiler/batch/messages.properties 2 Oct 2006 14:25:37 -0000 >@@ -232,7 +232,7 @@ > \ over-ann missing @Override annotation\n\ > \ paramAssign assignment to a parameter\n\ > \ pkgDefaultMethod + attempt to override package-default method\n\ >-\ raw usage of raw type\n\ >+\ raw + usage of raw type\n\ > \ semicolon unnecessary semicolon, empty statement\n\ > \ serial + missing serialVersionUID\n\ > \ specialParamHiding constructor or setter parameter hiding another field\n\ >Index: model/org/eclipse/jdt/core/JavaCore.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/core/JavaCore.java,v >retrieving revision 1.551 >diff -u -r1.551 JavaCore.java >--- model/org/eclipse/jdt/core/JavaCore.java 29 Sep 2006 17:13:57 -0000 1.551 >+++ model/org/eclipse/jdt/core/JavaCore.java 2 Oct 2006 14:25:40 -0000 >@@ -2042,7 +2042,7 @@ > * reject raw references to generic types. > * - option id: "org.eclipse.jdt.core.compiler.problem.rawTypeReference" > * - possible values: { "error", "warning", "ignore" } >- * - default: "ignore" >+ * - default: "warning" > * > * COMPILER / Reporting final Bound for Type Parameter > * When enabled, the compiler will issue an error or a warning whenever a generic type parameter is associated with a >Index: compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java,v >retrieving revision 1.169 >diff -u -r1.169 CompilerOptions.java >--- compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java 17 Jul 2006 11:40:10 -0000 1.169 >+++ compiler/org/eclipse/jdt/internal/compiler/impl/CompilerOptions.java 2 Oct 2006 14:25:38 -0000 >@@ -205,6 +205,7 @@ > | AssertUsedAsAnIdentifier > | EnumUsedAsAnIdentifier > | UncheckedTypeOperation >+ | RawTypeReference > | MissingSerialVersion > | VarargsArgumentNeedCast > | ForbiddenReference
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 159456
:
51251
|
51300
|
51301