<Sound Dev> [9] Review Request: 8068412 [macosx] Initialization of Cocoa hangs if CoreAudio was initialized before

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Mon Feb 9 13:10:15 UTC 2015

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

Best regards, Sergey.

More information about the sound-dev mailing list