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 68369 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]
Proposed patch
v00.txt (text/plain), 1.58 KB, created by
Frederic Fusier
on 2007-05-23 11:47:03 EDT
(
hide
)
Description:
Proposed patch
Filename:
MIME Type:
Creator:
Frederic Fusier
Created:
2007-05-23 11:47:03 EDT
Size:
1.58 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 15:12:40 -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; >@@ -3864,6 +3859,12 @@ > throw new InvalidInputException(this.bind("configure.incompatibleComplianceForSource", (String)this.options.get(CompilerOptions.OPTION_Compliance), CompilerOptions.VERSION_1_4)); //$NON-NLS-1$ > } > >+ // 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 (CompilerOptions.versionToJdkLevel(compliance) >= ClassFileConstants.JDK1_6) { >+ this.options.put(CompilerOptions.OPTION_Process_Annotations, CompilerOptions.ENABLED); >+ } >+ > // check and set compliance/source/target compatibilities > if (this.didSpecifyTarget) { > final Object targetVersion = this.options.get(CompilerOptions.OPTION_TargetPlatform);
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