Thank you guys. Unfortunately I haven't recieved any notifications about your replies (how's that??!).
Special thanks to Ed, I would be very doubtful about adding my whole post to the issue.
I'd like to know what behavior you would consider to be right. Probably you might just add the description to the issue.
[Message sent by forum member 'nzinoviev' (nikita.zinoviev_at_sun.com)]
http://forums.java.net/jive/thread.jspa?messageID=385423