Merge "Report that a JavaInputStreamAdaptor is at end." into lmp-dev