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 154493 Details for
Bug 296998
Unused imports should not prevent execution
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix
patch_296998.txt (text/plain), 2.96 KB, created by
Olivier Thomann
on 2009-12-15 11:41:55 EST
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2009-12-15 11:41:55 EST
Size:
2.96 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: batch/org/eclipse/jdt/internal/compiler/batch/Main.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/batch/org/eclipse/jdt/internal/compiler/batch/Main.java,v >retrieving revision 1.346 >diff -u -r1.346 Main.java >--- batch/org/eclipse/jdt/internal/compiler/batch/Main.java 7 Oct 2009 14:58:11 -0000 1.346 >+++ batch/org/eclipse/jdt/internal/compiler/batch/Main.java 15 Dec 2009 16:44:21 -0000 >@@ -2028,6 +2028,11 @@ > this.proceedOnError = true; > continue; > } >+ if (currentArg.equals("-nonFatalError")) { //$NON-NLS-1$ >+ mode = DEFAULT; >+ this.options.put(CompilerOptions.OPTION_FatalOptionalError, CompilerOptions.DISABLED); >+ continue; >+ } > if (currentArg.equals("-time")) { //$NON-NLS-1$ > mode = DEFAULT; > this.timing = TIMING_ENABLED; >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.866 >diff -u -r1.866 messages.properties >--- batch/org/eclipse/jdt/internal/compiler/batch/messages.properties 10 Dec 2009 16:00:06 -0000 1.866 >+++ batch/org/eclipse/jdt/internal/compiler/batch/messages.properties 15 Dec 2009 16:44:22 -0000 >@@ -217,6 +217,7 @@ > \ the log will be a xml file.\n\ > \ -proceedOnError do not stop at first error, dumping class files with\n\ > \ problem methods\n\ >+\ -nonFatalError treat all optional errors as non fatal\n\ > \ -verbose enable verbose output\n\ > \ -referenceInfo compute reference info\n\ > \ -progress show progress (only in -log mode)\n\ >#P org.eclipse.jdt.core.tests.compiler >Index: src/org/eclipse/jdt/core/tests/compiler/regression/BatchCompilerTest.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/BatchCompilerTest.java,v >retrieving revision 1.199 >diff -u -r1.199 BatchCompilerTest.java >--- src/org/eclipse/jdt/core/tests/compiler/regression/BatchCompilerTest.java 7 Oct 2009 14:58:12 -0000 1.199 >+++ src/org/eclipse/jdt/core/tests/compiler/regression/BatchCompilerTest.java 15 Dec 2009 16:44:23 -0000 >@@ -1586,6 +1586,7 @@ > " the log will be a xml file.\n" + > " -proceedOnError do not stop at first error, dumping class files with\n" + > " problem methods\n" + >+ " -nonFatalError treat all optional errors as non fatal\n" + > " -verbose enable verbose output\n" + > " -referenceInfo compute reference info\n" + > " -progress show progress (only in -log mode)\n" +
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 296998
:
153947
|
154493
|
154812