--- /dev/null 2017-04-27 11:02:11.338611058 -0700 +++ new/test/java/nio/channels/FileChannel/directio/README 2017-08-09 14:53:28.166811191 -0700 @@ -0,0 +1,34 @@ + +The unit test DirectIO.java in this directory depend on a native library +(libDirectIO). This native library is built off-line and the +resulting libDirectIO.so or libDirectIO.dylib for each processor/OS +combination is checked into the workspace. The reason for this is because +the test environment may not have the required compilers/build environment. + +In order to rebuild libDirectIO the following is required :- + +1. Check-out each of the shared libraries (sccs edit) + +2. Edit DirectIO.c with the appropriate changes + +3. Execute the make script (gnumake all) on each processor/OS so +that the appropriate lib//libDirectIO.so or lib//libDirectIO.dylib +is built. + +4. Test the changes + +5. Check-in each of the shared library (sccs delget) + + +For step 4 (re-building libDirectIO) the following environment is required: + +(a) JAVA_HOME needs to be set to J2SE directory + +(b) For Solaris the SOS8 'cc' needs to be on the PATH, check using: + # cc -V + cc: Sun C 5.5 2003/03/12 + +(c) Execute the make script :- + Solaris: gmake + Linux: gmake + MacOS: make