Return-Path: X-Original-To: apmail-db-derby-dev-archive@www.apache.org Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 508FB929F for ; Wed, 5 Oct 2011 02:56:44 +0000 (UTC) Received: (qmail 81210 invoked by uid 500); 5 Oct 2011 02:56:44 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 81181 invoked by uid 500); 5 Oct 2011 02:56:43 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 81137 invoked by uid 99); 5 Oct 2011 02:56:43 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Oct 2011 02:56:43 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS,UNPARSEABLE_RELAY X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [141.146.126.227] (HELO acsinet15.oracle.com) (141.146.126.227) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Oct 2011 02:56:33 +0000 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id p952uBmk011701 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Wed, 5 Oct 2011 02:56:12 GMT Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id p952uAIk011909 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Wed, 5 Oct 2011 02:56:11 GMT Received: from abhmt116.oracle.com (abhmt116.oracle.com [141.146.116.68]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id p952u56b028131 for ; Tue, 4 Oct 2011 21:56:05 -0500 Received: from localhost (/188.113.85.108) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 04 Oct 2011 19:56:04 -0700 From: dag.wanvik@oracle.com (Dag H. Wanvik) To: Subject: Re: Problem with Oracle JDK 1.7 tests and DERBY-5363 In-Reply-To: (Dag H. Wanvik's message of "Tue, 04 Oct 2011 23:22:03 +0200") References: <4E8B5AC0.6020606@sbcglobal.net> User-Agent: Gnus/5.110017 (No Gnus v0.17) Emacs/23.1 (usg-unix-v) Date: Wed, 05 Oct 2011 04:56:02 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A020207.4E8BC74C.0087:SCFMA922111,ss=1,re=-4.000,fgs=0 >> I have noticed sice DERBY-5363 was checked in all the Oracle jdk 1.7 >> runs show NA, >> e.g. here is the latest one: >> http://dbtg.foundry.sun.com/derby/test/Daily/jvm1.7/testing/Limited/testSummary-1178434.html >> >> It seems to have started with the checkin of DERBY-5363, revision 1176591 >> http://dbtg.foundry.sun.com/derby/test/Daily/jvm1.7/testing/Limited/ > > Thanks, Kathey. I will investigate. I have checked in a patch which hopefully resolves this issue at svn r1179042. This might also make the test work for IBM's JDK7 on Linux now. Thanks, Dag ---------------------------------------------------------------------- DERBY-5363 Tighten permissions of DB files to owner with >= JDK7 Patch derby-5363-followup-linux. RestrictiveFilePermissionsTest for this feature broke on some platforms (thanks to Kathey for noticing). Apparently, the ACL view of Posix file system permissions is not available for all Unix/Linux versions in JDK 1.7 (I had tested on Solaris 11 and Windows). The changes in the test now fall back on using PosixFileAttributeView#readAttributes if the ACL view is not available.