<AWT Dev> JDK-8074185

Brett Lee brettlee at yahoo.com
Sun Jun 21 19:59:38 UTC 2015


Hi, Am seeing an error that appears to match JDK-8074185.  The steps used to reproduce are:
1.  Run the sample application, and open up a JFileDialog.2.  Expand this size of the JFileDialog horizontally, from the right size of the window further to the right.3.  Decrease the size horizontally from the right to the left, past where the title bar (above the files/directories) no longer shrinks. (Title Bar having "Name", "Date Modified", "Size" and "Kind" headings).4.  Close the JFileDialog using the Cancel button.5.  Open the JFileDialog a second time.
$ "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java" -versionjava version "1.8.0_45"Java(TM) SE Runtime Environment (build 1.8.0_45-b14)Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)

$ "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/bin/java" ChooserTest2015-06-18 21:43:02.271 java[20103:655287] Unable to simultaneously satisfy constraints:(    "<NSAutoresizingMaskLayoutConstraint:0x7fd8053f64d0 h=--& v=--& V:[FI_TBrowserBackgroundView:0x7fd8051d93b0(0)]>",    "<NSAutoresizingMaskLayoutConstraint:0x7fd8053c0f60 h=-&- v=-&- V:|-(0)-[FI_TListScrollView:0x7fd8053e79d0]   (Names: '|':FI_TBrowserBackgroundView:0x7fd8051d93b0 )>",    "<NSAutoresizingMaskLayoutConstraint:0x7fd8053c0f10 h=-&- v=-&- V:[FI_TListScrollView:0x7fd8053e79d0]-(0)-|   (Names: '|':FI_TBrowserBackgroundView:0x7fd8051d93b0 )>",    "<NSAutoresizingMaskLayoutConstraint:0x7fd80570f3d0 h=-&- v=-&- V:[NSClipView:0x7fd80533f3d0]-(15)-|   (Names: '|':FI_TListScrollView:0x7fd8053e79d0 )>",    "<NSAutoresizingMaskLayoutConstraint:0x7fd8053502f0 h=-&- v=-&- V:|-(0)-[NSClipView:0x7fd80533f3d0]   (Names: '|':FI_TListScrollView:0x7fd8053e79d0 )>")
Will attempt to recover by breaking constraint<NSAutoresizingMaskLayoutConstraint:0x7fd80570f3d0 h=-&- v=-&- V:[NSClipView:0x7fd80533f3d0]-(15)-|   (Names: '|':FI_TListScrollView:0x7fd8053e79d0 )>
Set the NSUserDefault NSConstraintBasedLayoutVisualizeMutuallyExclusiveConstraints to YES to have -[NSWindow visualizeConstraints:] automatically called when this happens.  And/or, break on objc_exception_throw to catch this in the debugger.
Also seen using Java for "OS X 2014-001" (1.6.0_65-b14-466.1-11M4716), which seems to be the "latest" from Apple.https://support.apple.com/kb/ DL1572?locale=en_US
Both tests were on OS X 10.10.3.
Thanks, Brett
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/awt-dev/attachments/20150621/1d01aac2/attachment.html>


More information about the awt-dev mailing list