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 68381 Details for
Bug 188656
[perfs] 2% regression on some Batch Compiler tests since v_756
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
New patch
patch_188656.txt (text/plain), 2.02 KB, created by
Olivier Thomann
on 2007-05-23 12:40:25 EDT
(
hide
)
Description:
New patch
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2007-05-23 12:40:25 EDT
Size:
2.02 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.300 >diff -u -r1.300 Main.java >--- batch/org/eclipse/jdt/internal/compiler/batch/Main.java 7 May 2007 17:01:22 -0000 1.300 >+++ batch/org/eclipse/jdt/internal/compiler/batch/Main.java 23 May 2007 16:40:05 -0000 >@@ -2156,11 +2156,6 @@ > return; > } > >- // enable annotation processing by default in batch mode: 185768 >- this.options.put( >- CompilerOptions.OPTION_Process_Annotations, >- CompilerOptions.ENABLED); >- > final int INSIDE_CLASSPATH_start = 1; > final int INSIDE_DESTINATION_PATH = 3; > final int INSIDE_TARGET = 4; >@@ -2202,6 +2197,7 @@ > boolean didSpecifyWarnings = false; > boolean useEnableJavadoc = false; > boolean didSpecifyCompliance = false; >+ boolean didSpecifyDisabledAnnotationProcessing = false; > > String customEncoding = null; > String customDestinationPath = null; >@@ -2705,6 +2701,7 @@ > continue; > } > if (currentArg.equals("-proc:none")) { //$NON-NLS-1$ >+ didSpecifyDisabledAnnotationProcessing = true; > this.options.put( > CompilerOptions.OPTION_Process_Annotations, > CompilerOptions.DISABLED); >@@ -3000,6 +2997,13 @@ > this.logger.logVersion(printVersionRequired); > > validateOptions(didSpecifyCompliance); >+ >+ // Enable annotation processing by default in batch mode when compliance is at least 1.6 >+ // see bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=185768 >+ if (!didSpecifyDisabledAnnotationProcessing >+ && CompilerOptions.versionToJdkLevel(this.options.get(CompilerOptions.OPTION_Compliance)) >= ClassFileConstants.JDK1_6) { >+ this.options.put(CompilerOptions.OPTION_Process_Annotations, CompilerOptions.ENABLED); >+ } > > this.logger.logCommandLineArguments(newCommandLineArgs); > this.logger.logOptions(this.options);
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 188656
:
68369
| 68381