United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7091366 re-enable quicksort tests
JDK-7091366 : re-enable quicksort tests

Details
Type:
Bug
Submit Date:
2011-09-16
Status:
Closed
Updated Date:
2012-01-23
Project Name:
JDK
Resolved Date:
2012-01-23
Component:
hotspot
OS:
generic
Sub-Component:
gc
CPU:
generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
hs22
Fixed Versions:
hs23 (b02)

Related Reports
Backport:
Backport:
Relates:

Sub Tasks

Description
Because of time pressure, the quicksort tests were disabled completely to fix a build failure when using the jdk6 tools (see 7091294 disable quicksort tests).  A more targeted fix that avoids the build failure while keeping the tests enabled would be preferable.

                                    

Comments
SUGGESTED FIX

I added an 'extern "c"' scope to the call back that is passed to the stdlib:qsort() implementation.

With this change the build passes JPRT even with "-release jdk6".

Attaching the patch (called jdk6-qsfix.diff) to this CR.
                                     
2011-09-19
EVALUATION

The function used for testing together with stdlib::qsort() needs to be declared extern "C".
                                     
2011-09-19
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-gc/hotspot/rev/e807478bf9ca
                                     
2011-09-27
EVALUATION

See main CR
                                     
2011-10-22



Hardware and Software, Engineered to Work Together