Mercurial > hg > truffle
diff src/share/vm/classfile/classLoader.cpp @ 1416:1b41af477605
Added HotSpotVM project Java source files.
author | Thomas Wuerthinger <thomas.wuerthinger@gmail.com> |
---|---|
date | Wed, 23 Jun 2010 16:36:58 +0200 |
parents | 99af867dfa05 |
children | 55ac38887415 |
line wrap: on
line diff
--- a/src/share/vm/classfile/classLoader.cpp Wed Jun 23 16:19:21 2010 +0200 +++ b/src/share/vm/classfile/classLoader.cpp Wed Jun 23 16:36:58 2010 +0200 @@ -164,7 +164,7 @@ if (file_handle != -1) { // read contents into resource array u1* buffer = NEW_RESOURCE_ARRAY(u1, st.st_size); - size_t num_read = os::read(file_handle, (char*) buffer, st.st_size); + size_t num_read = hpi::read(file_handle, (char*) buffer, st.st_size); // close file hpi::close(file_handle); // construct ClassFileStream