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 4085 Details for
Bug 34808
Workbench freeze and crashes when run with the Apple Java 1.4.1 (final)
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
source code patch
(text/plain), 1.75 KB, created by
Andre Weinand
on 2003-03-12 23:35:50 EST
(
hide
)
Description:
source code patch
Filename:
MIME Type:
Creator:
Andre Weinand
Created:
2003-03-12 23:35:50 EST
Size:
1.75 KB
patch
obsolete
>34808.patch5ºrкshmBINæIndex: macosx/org/eclipse/jdt/internal/launching/macosx/MacOSXLaunchingPlugin.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.launching.macosx/macosx/org/eclipse/jdt/internal/launching/macosx/MacOSXLaunchingPlugin.java,v >retrieving revision 1.12 >diff -u -r1.12 MacOSXLaunchingPlugin.java >--- macosx/org/eclipse/jdt/internal/launching/macosx/MacOSXLaunchingPlugin.java 10 Mar 2003 21:56:05 -0000 1.12 >+++ macosx/org/eclipse/jdt/internal/launching/macosx/MacOSXLaunchingPlugin.java 13 Mar 2003 04:34:18 -0000 >@@ -79,7 +79,7 @@ > } > > static String createWrapper(Class where, String filename) { >- >+ > /* > * In order to build an application bundle under MacOS X we need a small stub > * that reads the various artefacts of a bundle and starts the Java VM. We copy >@@ -95,7 +95,15 @@ > javaApplStub= javaApplStub.substring(0, javaApplStub.length()-expected.length()); > javaApplStub+= "/Contents/MacOS/"; //$NON-NLS-1$ > } else { >- javaApplStub= "/System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/MacOS/"; //$NON-NLS-1$ >+ javaApplStub= System.getProperty("java.class.path"); //$NON-NLS-1$ >+ pos= javaApplStub.indexOf(expected); >+ if (pos > 0) { >+ javaApplStub= javaApplStub.substring(0, pos); >+ javaApplStub+= "/Contents/MacOS/"; //$NON-NLS-1$ >+ } else { >+ // fall back >+ javaApplStub= "/System/Library/Frameworks/JavaVM.framework/Versions/A/Resources/MacOS/"; //$NON-NLS-1$ >+ } > } > javaApplStub= "JAVASTUB=\""+ javaApplStub + "\"\n"; //$NON-NLS-1$ //$NON-NLS-2$ > >
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 34808
:
4080
|
4085
|
4129
|
4130