Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 278694 Details for
Bug 540081
[Cocoa][10.14]NPE for skinned shell-toolbar in dark mode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read
this important communication.
Snippet to crash without .app bundle
MojaveToolbarCrash.java (text/plain), 563 bytes, created by
Thomas Singer
on 2019-05-22 08:07:45 EDT
(
hide
)
Description:
Snippet to crash without .app bundle
Filename:
MIME Type:
Creator:
Thomas Singer
Created:
2019-05-22 08:07:45 EDT
Size:
563 bytes
patch
obsolete
>import org.eclipse.swt.*; >import org.eclipse.swt.widgets.*; > >public class MojaveToolbarCrash { > > public static void main(String[] args) { > System.getProperties().put("org.eclipse.swt.display.useSystemTheme", "true"); > final Display display = new Display(); > > final Shell shell = new Shell(display); > final ToolBar toolBar = shell.getToolBar(); > toolBar.setData(SWT.SKIN_CLASS, "shell"); > > shell.setSize(300, 200); > shell.open(); > > while (!shell.isDisposed()) { > if (!display.readAndDispatch()) { > display.sleep(); > } > } > > display.dispose(); > } >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 540081
: 278694