Closed GoogleCodeExporter closed 9 years ago
The implementation of optional() may have a similar problem.
Original comment by pbailis@gmail.com
on 7 Aug 2013 at 3:08
Thanks for this bug report. It is reproducible and your fix seems to work just
fine. All unit tests are green. There is a similar place in
ByteBufferInput#require which can be fixed in the same way.
I'll test a bit more and commit a fix.
-Leo
Original comment by romixlev
on 8 Aug 2013 at 8:49
@pbailis: I'm not so sure about optional. Do you have a test case for checking
if it is broken or not?
Original comment by romixlev
on 8 Aug 2013 at 8:53
@romixlev: I haven't tested optional(); it may not be problematic, but it
looked like a similar code path was introduced in the r352, which is why I
pointed it out!
Original comment by pbailis@gmail.com
on 8 Aug 2013 at 11:28
OK. Fix is committed into trunk. Optional is not touched yet. If anyone will
report problems, we'll fix it.
-Leo
Original comment by romixlev
on 9 Aug 2013 at 9:33
Original issue reported on code.google.com by
pbailis@gmail.com
on 7 Aug 2013 at 1:55