CDV ❯ PriorityQueue.toString() method appears to not resolve values
-
Bug
-
Status: Resolved
-
2 Major
-
Resolution: Won't Fix
-
-
-
interfaces
-
Reporter: tgautier
-
March 24, 2009
-
1
-
Watchers: 3
-
February 12, 2014
-
February 12, 2014
Attachments
Description
The attached code shows that the toString() method is not resolving values in the queue properly. When calling peek, the value is resolved, but toString() prints null values.
Comments
Tim Eck 2009-03-25
Alex Miller 2009-03-25
I think we should just add official support for this and include these in the boot jar for 3.0.1. Any reason not to?
Hung Huynh 2014-02-12
DSO is discontinued
It isn’t obvious, but there is an uninstrumented array access in that test program and config. If you addjava.util.PriorityQueue$Itr to things will work. That inner class does array access on the queue in the enclosing instance