Browse Source

Validated under windows only but jdk 1.3 doesn't support the international format classpaths in jar manifests.

(Test building the jars under jdk 1.3 and running them directly using java using jdk 1.5 works, but running
them using java form jkd 1.3 gives errors)


git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@475880 13f79535-47bb-0310-9956-ffa450edef68
master
Jacobus Martinus Kruithof 19 years ago
parent
commit
2d53fc8d19
1 changed files with 11 additions and 0 deletions
  1. +11
    -0
      src/tests/junit/org/apache/tools/ant/taskdefs/ManifestClassPathTest.java

+ 11
- 0
src/tests/junit/org/apache/tools/ant/taskdefs/ManifestClassPathTest.java View File

@@ -133,10 +133,21 @@ public class ManifestClassPathTest
"../../resources/dsp-void/"); "../../resources/dsp-void/");
} }
public void testInternationalGerman() { public void testInternationalGerman() {
if (System.getProperty("java.vm.version").compareTo("1.4") < 0)
{
System.out.println("Test with international characters skipped under pre 1.4 jvm.");
return;
}
executeTarget("international-german"); executeTarget("international-german");
expectLogContaining("run-two-jars", "beta alpha"); expectLogContaining("run-two-jars", "beta alpha");
} }
public void testInternationalHebrew() { public void testInternationalHebrew() {
if (System.getProperty("java.vm.version").compareTo("1.4") < 0)
{
System.out.println("Test with international characters skipped under pre 1.4 jvm.");
return;
}
if (!Os.isFamily("windows")) { if (!Os.isFamily("windows")) {
executeTarget("international-hebrew"); executeTarget("international-hebrew");
expectLogContaining("run-two-jars", "beta alpha"); expectLogContaining("run-two-jars", "beta alpha");


Loading…
Cancel
Save