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 164089 Details for
Bug 308356
codeSelect(..) doesn't work for local variable with surrogate in name
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix
patch_308356.txt (text/plain), 1.25 KB, created by
Olivier Thomann
on 2010-04-07 12:31:06 EDT
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2010-04-07 12:31:06 EDT
Size:
1.25 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: codeassist/org/eclipse/jdt/internal/codeassist/SelectionEngine.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/SelectionEngine.java,v >retrieving revision 1.157 >diff -u -r1.157 SelectionEngine.java >--- codeassist/org/eclipse/jdt/internal/codeassist/SelectionEngine.java 18 Mar 2010 16:19:33 -0000 1.157 >+++ codeassist/org/eclipse/jdt/internal/codeassist/SelectionEngine.java 7 Apr 2010 16:30:00 -0000 >@@ -482,7 +482,23 @@ > int selectionStart, > int selectionEnd) { > >- Scanner scanner = new Scanner(); >+ long complianceLevel = ClassFileConstants.JDK1_3; >+ long sourceLevel = ClassFileConstants.JDK1_3; >+ if (this.compilerOptions != null) { >+ sourceLevel = this.compilerOptions.sourceLevel; >+ complianceLevel = this.compilerOptions.complianceLevel; >+ } >+ >+ Scanner scanner = >+ new Scanner( >+ false /*comment*/, >+ false /*whitespace*/, >+ false /*nls*/, >+ sourceLevel, >+ complianceLevel, >+ null/*taskTag*/, >+ null/*taskPriorities*/, >+ true /*taskCaseSensitive*/); > scanner.setSource(source); > > int lastIdentifierStart = -1;
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 308356
:
164089
|
164100