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 52264 Details for
Bug 161459
9 tests in org.eclipse.jdt.core.tests.compiler.regression fail on IBM Java2 5.0
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch to getLibraryClasses to account for IBM Java2 5.0 JRE
patch.txt (text/plain), 1.18 KB, created by
Corey Ashford
on 2006-10-18 15:19:41 EDT
(
hide
)
Description:
Patch to getLibraryClasses to account for IBM Java2 5.0 JRE
Filename:
MIME Type:
Creator:
Corey Ashford
Created:
2006-10-18 15:19:41 EDT
Size:
1.18 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core.tests.compiler >Index: src/org/eclipse/jdt/core/tests/compiler/regression/BatchCompilerTest.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/BatchCompilerTest.java,v >retrieving revision 1.73 >diff -u -r1.73 BatchCompilerTest.java >--- src/org/eclipse/jdt/core/tests/compiler/regression/BatchCompilerTest.java 1 Sep 2006 07:48:21 -0000 1.73 >+++ src/org/eclipse/jdt/core/tests/compiler/regression/BatchCompilerTest.java 18 Oct 2006 18:44:14 -0000 >@@ -50,7 +50,17 @@ > if (Util.isMacOS()) { > return JRE_HOME_DIR + "/../Classes/classes.jar"; > } >- return JRE_HOME_DIR + "/lib/rt.jar"; >+ >+ // The IBM JRE has its base classes in vm.jar and core.jar, instead >+ // of rt.jar. >+ File file = new File(JRE_HOME_DIR + "/lib/vm.jar"); >+ if (file.exists()) >+ // The IBM J2SE 5.0 has put the java.lang classes in vm.jar and core.jar. >+ return >+ JRE_HOME_DIR + "/lib/vm.jar" + ":" + >+ JRE_HOME_DIR + "/lib/core.jar"; >+ else >+ return JRE_HOME_DIR + "/lib/rt.jar"; > } > > private String getJCEJar() {
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 161459
: 52264 |
52430