db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Myrna van Lunteren <m.v.lunte...@gmail.com>
Subject Re: Fwd: Suites.All
Date Thu, 08 Apr 2010 16:27:31 GMT
On Thu, Apr 8, 2010 at 3:52 AM, Jayaram Subramanian <rsjay1976@gmail.com> wrote:
> Thanks Kathy,
> You were right,, My classpaths were different between dos and CYGWIN
> envuiroments... When i made both the same i was able to run the
> SysInfo with the following results
>
> .
> testSysinfo used 1203 ms .
> testSysinfoMethod used 67 ms .
> testSysinfoLocale used 943 ms .
> testSysinfo used 1162 ms .
> testSysinfoMethod used 64 ms .
> testSysinfoLocale used 1048 ms
> Time: 11.667
>
> OK (6 tests)
>
>
> On Wed, Apr 7, 2010 at 8:23 AM, Kathey Marsden
> <kmarsdenderby@sbcglobal.net> wrote:
>> Jayaram Subramanian wrote:
>>>
>>>  This
>>> indicates to me that there was a security exception on the the jars
>>> folder... I tried modifying the permissions on the jars folder.. but
>>> still continued to get the same error.
>>> --------- Derby Information --------
>>> [Java Security Exception: access denied (java.io.FilePermission
>>> C:\java\Derby\source\trunk\jars\sane\derbyLocale_cs.jar
>>>  read)] <null>
>>>
>>
>> This is very interesting.   Because sysinfo is in multiple jars, I have seen
>> issues in the past where the policy file does not provide sysinfo proper
>> permissions and the order of the classpath can have an impact.  Can you send
>> your classpath in both the DOS environment where the test passes and your
>> Cygwin environment where it fails?
>>
>>
>>
>>
>

Hi Jayaram,

I'm glad you figured out the difference...

That said, it may be worthwhile logging a low-priority bug against the
SysinfoTest, perhaps it's possible to adjust the test so it will work
correctly with either classpath.

Myrna

Mime
View raw message