Menu

#41 RRset.toString fails on empty RRset

None
closed-fixed
None
5
2014-12-22
2012-01-15
Anonymous
No

testcase (scala)
val empty = new RRset()
empty.clear()
println(empty.toString)
causes java.lang.IllegalStateException: rrset is empty

it seems that if (rrs == null) in RRset.toString must be changed to if(rss.size() == 0)

Discussion

  • Brian Wellington

    • status: open --> closed-fixed
    • Group: -->