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 73085 Details for
Bug 172820
Hard-coded class libraries names in org/eclipse/jdt/core/tests/util/Util.java
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch fixes Harmony classpath issue
classpath.patch (text/plain), 1.63 KB, created by
Nina Rinskaya
on 2007-07-05 04:13:37 EDT
(
hide
)
Description:
Patch fixes Harmony classpath issue
Filename:
MIME Type:
Creator:
Nina Rinskaya
Created:
2007-07-05 04:13:37 EDT
Size:
1.63 KB
patch
obsolete
>diff -ruN util_orig/org/eclipse/jdt/core/tests/util/Util.java util_new/org/eclipse/jdt/core/tests/util/Util.java >--- util_orig/org/eclipse/jdt/core/tests/util/Util.java 2007-05-24 10:31:00.000000000 +0700 >+++ util_new/org/eclipse/jdt/core/tests/util/Util.java 2007-07-05 11:39:35.609985000 +0700 >@@ -656,16 +656,28 @@ > }; > } > if ("DRLVM".equals(vmName)) { >- FilenameFilter jarFilter = new FilenameFilter() { >- public boolean accept(File dir, String name) { >- return name.endsWith(".jar") & !name.endsWith("-src.jar"); >+ String bootclasspathProperty = System.getProperty("sun.boot.class.path"); >+ if ((bootclasspathProperty != null) && (bootclasspathProperty.length() != 0)) { >+ StringTokenizer tokenizer = new StringTokenizer(bootclasspathProperty, File.pathSeparator); >+ String[] jars = new String[tokenizer.countTokens()]; >+ int i = 0; >+ while (tokenizer.hasMoreTokens()) { >+ jars[i] = toNativePath(tokenizer.nextToken()); >+ i++; > } >- }; >- String[] jars = new File(jreDir + "/lib/boot/").list(jarFilter); >- for (int i = 0; i < jars.length; i++) { >- jars[i] = toNativePath(jreDir + "/lib/boot/" + jars[i]); >+ return jars; >+ } else { >+ FilenameFilter jarFilter = new FilenameFilter() { >+ public boolean accept(File dir, String name) { >+ return name.endsWith(".jar") & !name.endsWith("-src.jar"); >+ } >+ }; >+ String[] jars = new File(jreDir + "/lib/boot/").list(jarFilter); >+ for (int i = 0; i < jars.length; i++) { >+ jars[i] = toNativePath(jreDir + "/lib/boot/" + jars[i]); >+ } >+ return jars; > } >- return jars; > } > ArrayList paths = new ArrayList(); > String[] jarsNames = new String[] {
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 172820
:
67967
|
68111
|
68301
|
68528
|
68539
|
68579
| 73085