2nd round code review request: 7055363: jdk_security3 cleanup

Weijun Wang weijun.wang at oracle.com
Thu Aug 4 02:34:18 UTC 2011


Oh, that's true.

I'll add it back. Why did I remove it at the first place?

Thanks
Max

On 08/04/2011 10:11 AM, Xuelei Fan wrote:
> . test/javax/security/auth/login/LoginContext/ResetConfigModule.java
>
> You removed the "run" tag, and "build" tag is the last tag. It seems
> that the test will only run building, but not run the class.main(). I
> got the strange behavior when I run some tests with build tag with jtreg
> 4.1 b03. Did you come into the same issue?
>
> Thanks,
> Xuelei
>
> On 8/3/2011 11:50 AM, Weijun Wang wrote:
>>
>>
>> On 08/03/2011 12:43 AM, Alan Bateman wrote:
>>> Weijun Wang wrote:
>>>> Hi All
>>>>
>>>> http://cr.openjdk.java.net/~weijun/7055363/webrev.01/
>>> I went through the changes to the tests and they look okay to me. It's
>>> good to see so many tests removed from the problem list and the tests
>>> updated to work in samevm or agentvm mode.
>>>
>>> Is there a bug created for the ec tests that are failing on
>>> solaris-i586? If so then it would be good to include the bugID for
>>
>> I thought there was one but I cannot find it. *Vinnie*, do you know it?
>>
>>> future edits to the problem list. Also I see you've commented out two ec
>>> tests and I wonder if these lines should be removed or uncommented.
>>
>> I don't understand why these 2 pass now. Maybe they still fail on some
>> platforms not in JPRT? Anyway, I just don't want to purge the lines.
>>
>>>
>>> test/com/sun/security/auth/login/ConfigFile/IllegalURL.java - no problem
>>> with your change but I notice this test using URL's getFile which isn't
>>> the right way to get to a file path. Could this be changed to using
>>> File(URI)?
>>
>> This test is a compatibility check, see
>>
>>     http://hg.openjdk.java.net/jdk7/jsn/jdk/rev/4e7ad09de58b
>>
>> I remember there were some strange things on Windows, say, UNC, \ vs /,
>> that made some hand-crafted URL illegal. We cannot support all of them,
>> so just make sure the old supported ones are still supported.
>>
>> Thanks
>> Max
>>
>>>
>>> -Alan.
>>>
>>>
>>>
>>>
>>>
>



More information about the security-dev mailing list