Community
Participate
Working Groups
Taking out from Bug 526815 - 1. The Directory dialog should be presented by defaulting it java_home 2. It should bring back the previous Java naming behavior (org.eclipse.jdt.internal.launching.MacInstalledJREs.parseJREInfo(InputStream, IProgressMonitor)) .
@Till, Are you interested in fixing this?
(In reply to Sarika Sinha from comment #1) > @Till, > Are you interested in fixing this? Sorry for the delayed response, currently I don't have time for this.
New Gerrit change created: https://git.eclipse.org/r/142890
While testing with a new workspace, I found that the installed JREs dialog is already populated with the installed JREs in /Library/Java/JavaVirtualMachines and with the correct JVM names. So I think this bug is a problem only for existing workspaces or when a new Java version is installed.
(In reply to Eclipse Genie from comment #3) > New Gerrit change created: https://git.eclipse.org/r/142890 The patch sets the default location in the directory dialog to /Library/Java/JavaVirtualMachines. I've restored the doMacSearch() code, which does a fast mac search using java_home -X and parses the required info from the returned XML plist. If the default location is used for search, the fast mac search is used, otherwise the common search is used.
(In reply to Lakshmi Shanmugam from comment #5) > (In reply to Eclipse Genie from comment #3) > > New Gerrit change created: https://git.eclipse.org/r/142890 > > The patch sets the default location in the directory dialog to > /Library/Java/JavaVirtualMachines. I've restored the doMacSearch() code, > which does a fast mac search using java_home -X and parses the required info > from the returned XML plist. If the default location is used for search, the > fast mac search is used, otherwise the common search is used. Simple and effective, very good.
Thanks for the quick review, Till!
Thanks Lakshmi! +1 for RC1.
Gerrit change https://git.eclipse.org/r/142890 was merged to [master]. Commit: http://git.eclipse.org/c/jdt/eclipse.jdt.debug.git/commit/?id=07a33b93d6cfd592e6ce70a0cfb16d238e8c6894
Verified in I20190529-2005