Hello,
I am using java.net.Socket and find an strange behaviour. If Socket
inputstream is shutdown, and there was still some data remaining, its
available() method may still return a positive value. I checked with the
java spec, and the document of Socket.shutdownInput() said:
"Places the input st
于 2011-1-26 20:32, Alan Bateman 写道:
Jing LV wrote:
Hello,
I am using java.net.Socket and find an strange behaviour. If Socket
inputstream is shutdown, and there was still some data remaining, its
available() method may still return a positive value. I checked with the
java spec, and the
于 2011-2-17 17:30, Alan Bateman 写道:
Jing LV wrote:
Thanks Alan! I try to follow this issue but has no luck on
bugs.sun.com with the number 7014860. Am I miss something?
I suspect there is a problem on bugs.sun.com as it doesn't seem to be
showing any bugs. I noticed a "main
should return image/bmp but it does not. I see we may add image/bmp
support in the windows\lib\content-types.properties to make the testcase pass.
However I am not sure if OpenJDK do want to support it, or there is some
reason why OpenJDK don't?
--
Best Regards,
Jimmy, Jing LV
And if we print uri.getAuthority() we'll get a null value.
I think the problem is caused by ipv6 address, which is enclosed with
"[]", but a normal hostname does not.
Any comments?
--
Best Regards,
Jimmy, Jing LV
was
> 1999, when PNG was added! I don't have any specific objection to adding it.
>
> -Chris.
>
>
Hi Chris,
Thanks for reply. So as we see no objection for this issue, would
someone help to raise a bug in the bug system? So that we can apply the
patch and fix this 12-year problem
于 2011-3-1 20:44, Chris Hegarty 写道:
> On 03/ 1/11 09:58 AM, Jing LV wrote:
>> Hello,
>>
>> According to authority component RFC2396, if host name is a domain name
>> there should be no "[" and "]". However if we put a hostname like
>> "[
于 2011-3-9 22:32, Chris Hegarty 写道:
> On 08/03/2011 09:13, Jing LV wrote:
>> ..
>> Hi Chris,
>>
>> Thanks for reply. So as we see no objection for this issue, would
>> someone help to raise a bug in the bug system? So that we can apply the
>> patch and
于 2011-3-1 20:44, Chris Hegarty 写道:
> On 03/ 1/11 09:58 AM, Jing LV wrote:
>> Hello,
>>
>> According to authority component RFC2396, if host name is a domain name
>> there should be no "[" and "]". However if we put a hostname like
>> "[
于 2011-2-22 17:38, Alan Bateman 写道:
Jing LV wrote:
Thanks Alan - any luck till now?
Yes, it's there:
http://bugs.sun.com/view_bug.do?bug_id=7014860
Hello,
Currently I don't see any patch available so I am trying to create
one by myself. I see the problem
Hello,
Alan (or anyone else), do we have time to discuss these postponed
defects? Or do you have a outlook for this?
Thank you.
于 2011-4-27 18:35, Alan Bateman 写道:
Jing LV wrote:
Hello,
Currently I don't see any patch available so I am trying to
create one by myself. I se
ee the extent of the changes.
-Chris.
we don't know how custom SocketImpls might behave. Overall the risk does
seem low.
-Alan.
--
Best Regards,
Jimmy, Jing LV
Hi,
Thank you Chris! Would you please send the link when you have some
progress?
于 2011-7-18 18:00, Chris Hegarty 写道:
On 07/18/11 09:09 AM, Jing LV wrote:
Hi Chris, Alan,
Thanks for reply. I am looking for a conclusion and solution for this
issue. If I understand correctly, it'
is the bug being used to fix this issue.
-Chris.
- Michael
--
Best Regards,
Jimmy, Jing LV
Hi Chris,
It's been quite a while, do you think this fix is OK to you? If so, can
you apply it to the repostory?
Thanks!
于 2011-4-26 18:43, Jing LV 写道:
> 于 2011-3-9 22:32, Chris Hegarty 写道:
>> On 08/03/2011 09:13, Jing LV wrote:
>>> ..
>>> Hi Chris,
>>&
15 matches
Mail list logo