1*4882a593SmuzhiyunCopyright (c) 1994-2006 Sun Microsystems Inc. 2*4882a593SmuzhiyunAll Rights Reserved. 3*4882a593Smuzhiyun 4*4882a593SmuzhiyunRedistribution and use in source and binary forms, with or without 5*4882a593Smuzhiyunmodification, are permitted provided that the following conditions are 6*4882a593Smuzhiyunmet: 7*4882a593Smuzhiyun 8*4882a593Smuzhiyun- Redistributions of source code must retain the above copyright notice, 9*4882a593Smuzhiyunthis list of conditions and the following disclaimer. 10*4882a593Smuzhiyun 11*4882a593Smuzhiyun- Redistribution in binary form must reproduce the above copyright 12*4882a593Smuzhiyunnotice, this list of conditions and the following disclaimer in the 13*4882a593Smuzhiyundocumentation and/or other materials provided with the distribution. 14*4882a593Smuzhiyun 15*4882a593Smuzhiyun- Neither the name of Sun Microsystems or the names of contributors may 16*4882a593Smuzhiyunbe used to endorse or promote products derived from this software without 17*4882a593Smuzhiyunspecific prior written permission. 18*4882a593Smuzhiyun 19*4882a593SmuzhiyunTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS 20*4882a593SmuzhiyunIS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 21*4882a593SmuzhiyunTHE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 22*4882a593SmuzhiyunPURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 23*4882a593SmuzhiyunCONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 24*4882a593SmuzhiyunEXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 25*4882a593SmuzhiyunPROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR 26*4882a593SmuzhiyunPROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF 27*4882a593SmuzhiyunLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 28*4882a593SmuzhiyunNEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 29*4882a593SmuzhiyunSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 30