Oh... wait... I am smoking some bad crack... I totally misread this and
then applied that misreading to a fix which does not help at all. I
have been in "proxy-land" for the last 5 hours and might be loosing my mind.
Let me quickly check what the default sun impl does and I try to
duplicate that... though I am not sure what the exact permissions I
should return or if I should use the File/Security manager to construct
that information.
=(
--jason
Jules Gosnell wrote:
>
>Jason,
>
>Thanks for this - it should fix reloading JSPs ...
>
>
>However, Jetty deployment is now screwed !!!!!
>
>In FileURLConnection.getPermission() where you say :
>
> public Permission getPermission() throws IOException {
> // should probably return a FilePermission here...
> // but I don't understand that crap, so just return the default
> return super.getPermission();
> }
>
>You are absolutely right !!!
>
>Jetty is using permission.getName() to get the file name - this is now
>returning a string "<all permissions>" - whereas before it returned a
>valid file name.
>
>Jetty can no longer deploy anything.
>
>I would look into this, but I have to go to work.
>
>We could change Jetty, but this would just bite the next person to use
>it.
>
>
>What do you reckon ? Would it be easy to return a java.io.FilePermission
>here - as expected.
>
>
>Jules
>
>
>
>_________________________________________________________
>Do You Yahoo!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>_______________________________________________
>Jboss-development mailing list
>[EMAIL PROTECTED]
>https://lists.sourceforge.net/lists/listinfo/jboss-development
>
_______________________________________________
Jboss-development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development