I see, thanks… Could you point me to some test that does it in a right way, so I can copy from it?
On Jul 29, 2013, at 9:08 PM, Sergey Bylokhov <[email protected]> wrote: > Hi, Leonid. > Are you sure that the test can be compiled on the platforms other than mac? > import com.apple.eawt.*; > > you need to use a reflection. > > On 29.07.2013 21:03, Leonid Romanov wrote: >> Hello, >> Please review a fix 8021815: Add regression test for JDK-8007267. This fix >> simply adds a regression test for 8007267: [macosx] >> com.apple.eawt.Application.setDefaultMenuBar is not working >> . >> >> Bug: http://bugs.sun.com/view_bug.do?bug_id=8021815 (might not be available >> yet) >> Webrev: http://cr.openjdk.java.net/~leonidr/8021815/webrev.00/ >> >> Thanks, >> Leonid. > > > -- > Best regards, Sergey. >
