7009975: Large file support broken in hs20-b04
authoralanb
Fri, 07 Jan 2011 03:38:19 -0800
changeset 7721 8fae37350972
parent 7720 8283870fc280
child 7723 74a3e528f1b8
child 7724 a92d706dbdd5
7009975: Large file support broken in hs20-b04 Reviewed-by: phh, acorn, kamg
hotspot/src/os/solaris/vm/os_solaris.cpp
--- a/hotspot/src/os/solaris/vm/os_solaris.cpp	Wed Jan 05 21:23:15 2011 -0500
+++ b/hotspot/src/os/solaris/vm/os_solaris.cpp	Fri Jan 07 03:38:19 2011 -0800
@@ -5197,7 +5197,7 @@
   int o_delete = (oflag & O_DELETE);
   oflag = oflag & ~O_DELETE;
 
-  fd = ::open(path, oflag, mode);
+  fd = ::open64(path, oflag, mode);
   if (fd == -1) return -1;
 
   //If the open succeeded, the file might still be a directory