db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendle...@amberpoint.com>
Subject Re: [jira] Updated: (DERBY-955) Get derbyall on jdk1.6
Date Tue, 18 Apr 2006 21:56:21 GMT
Rick Hillegas wrote:
> Here's the security exception I'm seeing when running sysinfo under 1.6 
> on windows against the classtree:
> 
> access denied (java.io.FilePermission C:\cygwin\home\rh161140\derby\bug955\trunk\classes
read)

I don't know if this is a bug in the JDK or not, but at least it should
give you enough information to be able to try a small standalone
java program which calls File.getCanonicalPath against the classes
directory, and then you've got a much simpler example to go to the
JDK support guys with.

Something like the following, when run with -Djava.security.manager and
-Djava.security.policy pointing to an appropriate policy file, should hopefully
do it.

thanks,

bryan

public class t
{
     public static void main(String []args) throws Exception
     {
         System.out.println(new java.io.File(args[0]).getCanonicalPath());
     }
}


Mime
View raw message