puppetlabs/puppet-server — pull request #205 by fpringvaldsen (2014-10-06 20:20:16+00:00)
Title: (SERVER-4) Eliminate direct file slurping

Slurp a FileInputStream rather than directly slurping the
/proc/meminfo file. This is due to a bug in OpenJDK wherein
the FileInputStream.available() method throws an exception when
called on a file in the /proc folder. Slurp a FileInputStream
rather than the file directly eliminates the call to this method.