Send again. And BTW, JPRT runs fine.
在 Jun 23, 2013,6:29 PM,Weijun Wang 写道:
> The macosx problem found, the machine's native GSS does not support shared
> replaycache.
>
> *Valerie* and/or *Xuelei*, can you please review the fix?
>
> http://cr.openjdk.java.net/~weijun/8017453/webrev.00/
>
ReplayCacheTestProc.java
75 String os = System.getProperty("os.name", "???");
What happens if "os" is "???"?
Xuelei
On 6/24/2013 12:36 AM, Wang Weijun wrote:
> Send again. And BTW, JPRT runs fine.
>
> 在 Jun 23, 2013,6:29 PM,Weijun Wang 写道:
>
>> The macosx proble
On 6/24/13 9:49 AM, Xuelei Fan wrote:
> ReplayCacheTestProc.java
>
> 75 String os = System.getProperty("os.name", "???");
>
> What happens if "os" is "???"?
Then it's neither Windows nor Mac OS X. :)
I gave a default value so that the result will not be null. Alt
On 6/24/2013 10:01 AM, Weijun Wang wrote:
>
>
> On 6/24/13 9:49 AM, Xuelei Fan wrote:
>> ReplayCacheTestProc.java
>>
>> 75 String os = System.getProperty("os.name", "???");
>>
>> What happens if "os" is "???"?
>
> Then it's neither Windows nor Mac OS X. :)
>
The c
How about
if (!os.startsWith("Solaris") || !os.startsWith("Linux")) {
mode = -1;
}
Thanks
Max
On 6/24/13 10:35 AM, Xuelei Fan wrote:
> On 6/24/2013 10:01 AM, Weijun Wang wrote:
>>
>>
>> On 6/24/13 9:49 AM, Xuelei Fan wrote:
>>> ReplayCacheTestProc.java
>>
Oh, no
if (!os.startsWith("Solaris") && !os.startsWith("Linux")) {
--Max
On 6/24/13 11:01 AM, Weijun Wang wrote:
> How about
>
> if (!os.startsWith("Solaris") || !os.startsWith("Linux")) {
> mode = -1;
> }
>
> Thanks
> Max
>
>
> On 6/24/13 10:35 AM
On 6/24/2013 11:04 AM, Weijun Wang wrote:
> Oh, no
>
> if (!os.startsWith("Solaris") && !os.startsWith("Linux")) {
>
Good.
Xuelei
> --Max
>
> On 6/24/13 11:01 AM, Weijun Wang wrote:
>> How about
>>
>> if (!os.startsWith("Solaris") || !os.startsWith("Linux")) {
>>
Oh, actually it should be SunOS.
On 6/24/13 11:28 AM, Xuelei Fan wrote:
> On 6/24/2013 11:04 AM, Weijun Wang wrote:
>> Oh, no
>>
>> if (!os.startsWith("Solaris") && !os.startsWith("Linux")) {
>>
> Good.
>
> Xuelei
>
>> --Max
>>
>> On 6/24/13 11:01 AM, Weijun Wang wrote:
>>> How about
>>>
>>>
On 6/24/2013 12:29 PM, Weijun Wang wrote:
> Oh, actually it should be SunOS.
>
Really? Then I would suggest you also check "Solaris".
http://www.javaneverdie.com/java/java-os-name-property-values/
Xuelei
> On 6/24/13 11:28 AM, Xuelei Fan wrote:
>> On 6/24/2013 11:04 AM, Weijun Wang wrote:
>>> O
I would stick to SunOS since that's how the JGSS native provider detects
the OS. Maybe do a detailed check later.
On 6/24/13 12:36 PM, Xuelei Fan wrote:
> On 6/24/2013 12:29 PM, Weijun Wang wrote:
>> Oh, actually it should be SunOS.
>>
> Really? Then I would suggest you also check "Solaris".
>
>
On 6/24/2013 12:41 PM, Weijun Wang wrote:
> I would stick to SunOS since that's how the JGSS native provider detects
> the OS. Maybe do a detailed check later.
>
OK.
Xuelei
> On 6/24/13 12:36 PM, Xuelei Fan wrote:
>> On 6/24/2013 12:29 PM, Weijun Wang wrote:
>>> Oh, actually it should be SunOS.
>>
11 matches
Mail list logo