Looks fine. No idea if Apple know the old code is broken but we should
update to
the newer APIs anyway
-phil.
On 02/09/2015 05:10 AM, Sergey Bylokhov wrote:
Hello.
Please review a fix for jdk 9.
The problem is that NSApplicationDidFinishLaunchingNotification is not
coming if we find AudioOutputUnit via FindNextComponent before
NSApplication will start. Actually after we call FindNextComponent all
NS methods simply has no visible effect.
According to documentation[1] these methods was deprecated, and other
similar methods should be used instead.
[1] https://developer.apple.com/library/mac/technotes/tn2091/_index.html
Bug: https://bugs.openjdk.java.net/browse/JDK-8068412
Webrev can be found at:
http://cr.openjdk.java.net/~serb/8068412/webrev.00