You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Kathey Marsden (JIRA)" <ji...@apache.org> on 2010/05/28 18:42:37 UTC

[jira] Commented: (DERBY-4616) SysinfoTest prints permission errors when printing sysinfo

    [ https://issues.apache.org/jira/browse/DERBY-4616?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12873049#action_12873049 ] 

Kathey Marsden commented on DERBY-4616:
---------------------------------------

Hello Jayaram,

I applied the patch sysinfotestpolicy_donnotcommit.txt and the test passes fine for me. Make sure you clean out your test directory and ant clobber before you build and see if you still get the error.



> SysinfoTest prints permission errors when printing sysinfo
> ----------------------------------------------------------
>
>                 Key: DERBY-4616
>                 URL: https://issues.apache.org/jira/browse/DERBY-4616
>             Project: Derby
>          Issue Type: Bug
>          Components: Test
>    Affects Versions: 10.6.1.0
>            Reporter: Jayaram Subramanian
>            Assignee: Jayaram Subramanian
>            Priority: Minor
>         Attachments: statsysinfotestpolicy.txt, sysinfotestpolicy_donotcommit.txt
>
>
> When running sysinfo test got the following permission error when printing information from TestSysinfoLocale method
> Java Version:    1.6.0_14
> Java Vendor:     Sun Microsystems Inc.
> Java home:       Security Exception: java.security.AccessControlException: access denied (java.util.PropertyPermission java.home read)
> Java classpath:  .;C:/java/Derby/source/trunk/jars/sane/derby/derbyLocale_cs.jar;C:/java/Derby/source/trunk/tools/java/junit.jar;C:/java/Derby/source/trunk/jars/sane/derbyclient.jar;C:/java/Derby/source/trunk/jars/sane/derbynet.jar;C:/java/Derby/source/trunk/jars/sane/derbyrun.jar;C:/java/Derby/source/trunk/jars/sane/derbytesting.jar;C:/java/Derby/source/trunk/jars/sane/derbytools.jar;C:/java/Derby/source/trunk/jars/sane/derby.jar;
> OS name:         Windows Vista
> OS architecture: x86
> OS version:      6.0
> Java user name:  Security Exception: java.security.AccessControlException: access denied (java.util.PropertyPermission user.name read)
> Java user home:  Security Exception: java.security.AccessControlException: access denied (java.util.PropertyPermission user.home read)
> Java user dir:   C:\java\derby\source\trunk
> java.specification.name: Java Platform API Specification

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.