JDK-8089304 : Mac: implement App name using bundle and -Xdock:name and -Xdock:icon
Type:Bug
Component:javafx
Sub-Component:window-toolkit
Affected Version:fx2.0
Priority:P4
Status:Open
Resolution:Unresolved
Submitted:2011-12-23
Updated:2018-09-05
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
This clone covers just the -Xdock:name VM parameter, which at the moment I don't know how to implement for RT-18563
Comments
Let's move this out from 2.1. We can continue to investigate, but there is no prioity to get this one fixed right away.
25-01-2012
1) Did you mention somewhere in an email trail that CPSSetProcessName() no longer works on Lion? It seems to work for me on OS X 10.6.
2) This is certainly doable. Scott Kovatch know all of the gory details. Since, "they" (Apple) will be "us" (OpenJDK) for 1.7, we will have the source. Let me look into it.
03-01-2012
Gerard said
"The bigger picture here is that no one besides Apple is allowed to change the process name, and to implement this for JFX we either:
- 1 have to ask Apple for an API, which I seriously doubt they will give to us
- 2 modify our Glass to use Apple's AWTApplication cocoa instance and keep relaying on their "magic" underneath, which at this point I would say is an SPI, and hope they continue to support that, which I doubt they will continue to do so after we take over their JDK
I will need to research 2 more to be able to comment in more details, but right now it seems to me that using their "special" flavor of AWTApplication without having the src code to it would be a mistake. "
03-01-2012
With http://javafx-jira.kenai.com/browse/RT-18563 resolved the priority of this issue can be lowered and taken out of sprint track. Dependent on RT-18716