Re: [9] Review request for: 8136763 [macosx] java always returns only one value for "text/uri-list" dataflavor even if several files were copied

2015-10-06 Thread Sergey Bylokhov
Looks like the test is not in the final state. On 06.10.15 11:01, mikhail cherkasov wrote: Hi there, Please review a fix: bug: https://bugs.openjdk.java.net/browse/JDK-8136763 webrev: http://cr.openjdk.java.net/~mcherkas/8136763/webrev.00/ The problem is similar to https://bugs.openjdk.java.ne

[9] Review Request: 8138764 In some cases the usage of TreeLock can be replaced by other synchronization

2015-10-06 Thread Sergey Bylokhov
Hello. Please review the fix for jdk9, I plan to backport it to jdk8. In this fix some of synchronizations on TreeLock were removed. - Component.java(CachedPainter.java) : long time ago this synchronization was necessary, because the getGC method iterated over hierarchy of components[1], but n

Re: [9] Review Request: 8136858 Examine the usage of ThreadGroup.stop() in sun.awt.AppContext

2015-10-06 Thread Chris Hegarty
Thanks Sergey, this looks good to me. -Chris. On 6 Oct 2015, at 13:42, Sergey Bylokhov wrote: > Hello. > Please review the fix for jdk9. > > In the fix the call to ThreadGroup.stop() was wrapped in privileged block. > The new test is provided, I have checked that it will fail if default > pe

[9] Review Request: 8136858 Examine the usage of ThreadGroup.stop() in sun.awt.AppContext

2015-10-06 Thread Sergey Bylokhov
Hello. Please review the fix for jdk9. In the fix the call to ThreadGroup.stop() was wrapped in privileged block. The new test is provided, I have checked that it will fail if default permission "stopThread" will be removed from java.policy or if the call to ThreadGroup.stop() will be removed

[9] Review request for: 8136763 [macosx] java always returns only one value for "text/uri-list" dataflavor even if several files were copied

2015-10-06 Thread mikhail cherkasov
Hi there, Please review a fix: bug: https://bugs.openjdk.java.net/browse/JDK-8136763 webrev: http://cr.openjdk.java.net/~mcherkas/8136763/webrev.00/ The problem is similar to https://bugs.openjdk.java.net/browse/JDK-8081787 When user requests data for uri-list flavor, java returns xml without a