Re: Default permission: "*" or "-"

[email protected]
Newsgroups gmane.comp.java.mx4j.devel
Message-ID <[email protected]>
Hi,

> Bordet, Simone wrote:
>> I'm not sure.
>> I think MX4J behaves correctly when parsing the permission name passed
>> as a string, while only the interpretation between MX4J and RI in case
>> of 4-args constructor is different.
>> Although I think RI interpretation is wrong, I think there is no other
>> choice than adequate MX4J, since now RI is in J2SE.
>>
>> Jeremy, can you confirm the problems you have in the tests are only
>> because of the 4 args constructor ?
>>
>
> Yes.
>
> If I apply the attached patch (which explicitly forces "-" into the name
> for a 4-arg constructor) then all the TCK security tests and
> MBeanPermissionTest pass.

Then please fix it and close definitely the bug.

Simon




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.