Print this page
4719 Common patchset for jdk1.7 support preparation

*** 54,64 **** Aggregate a; Number address; String f; boolean done = false; for (int i = 0; (i < 20) && !done; ++i) { ! Thread.currentThread().sleep(100); a = consumer.getAggregate(); for (Aggregation agg : a.getAggregations()) { for (Tuple tuple : agg.asMap().keySet()) { address = (Number)tuple.get(0).getValue(); if (address instanceof Integer) { --- 54,64 ---- Aggregate a; Number address; String f; boolean done = false; for (int i = 0; (i < 20) && !done; ++i) { ! Thread.sleep(100); a = consumer.getAggregate(); for (Aggregation agg : a.getAggregations()) { for (Tuple tuple : agg.asMap().keySet()) { address = (Number)tuple.get(0).getValue(); if (address instanceof Integer) {
*** 86,96 **** consumer.open(); int pid = consumer.createProcess(cmd); consumer.compile(userLookupProgram); consumer.enable(); consumer.go(); ! Thread.currentThread().sleep(500); Aggregate a = consumer.getAggregate(); Number address; String f; for (Aggregation agg : a.getAggregations()) { for (Tuple tuple : agg.asMap().keySet()) { --- 86,96 ---- consumer.open(); int pid = consumer.createProcess(cmd); consumer.compile(userLookupProgram); consumer.enable(); consumer.go(); ! Thread.sleep(500); Aggregate a = consumer.getAggregate(); Number address; String f; for (Aggregation agg : a.getAggregations()) { for (Tuple tuple : agg.asMap().keySet()) {