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 182179 Details for
Bug 329227
Usage of broken quicksort algorithm in jdt.internal.compiler.util.Util
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
The patch
util.patch (text/plain), 1.02 KB, created by
daolaf
on 2010-11-01 18:04:59 EDT
(
hide
)
Description:
The patch
Filename:
MIME Type:
Creator:
daolaf
Created:
2010-11-01 18:04:59 EDT
Size:
1.02 KB
patch
obsolete
>Index: Util.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/util/Util.java,v >retrieving revision 1.79 >diff -u -r1.79 Util.java >--- Util.java 29 Jun 2010 01:03:42 -0000 1.79 >+++ Util.java 1 Nov 2010 21:47:51 -0000 >@@ -677,7 +677,7 @@ > public static void reverseQuickSort(char[][] list, int left, int right) { > int original_left= left; > int original_right= right; >- char[] mid= list[(right + left) / 2]; >+ char[] mid= list[(right + left) >>> 1]; > do { > while (CharOperation.compareTo(list[left], mid) > 0) { > left++; >@@ -702,8 +702,8 @@ > } > public static void reverseQuickSort(char[][] list, int left, int right, int[] result) { > int original_left= left; >- int original_right= right; >- char[] mid= list[(right + left) / 2]; >+ int original_right= right; >+ char[] mid= list[(right + left) >>> 1]; > do { > while (CharOperation.compareTo(list[left], mid) > 0) { > left++; >
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 329227
:
182179
|
185767