diff --git a/CONTRIBUTORS b/CONTRIBUTORS index 249d43677..1988638ee 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -51,6 +51,7 @@ Bruce Atherton Cedomir Igaly Charles Hudak Charlie Hubbard +Chris Hegarty Chris Povirk Christian Knorr Christian Schmidt @@ -403,6 +404,7 @@ Valentino Miazzo Victor Toni Vimil Saju Vincent Legoll +Vincent Privat Vitold Sedyshev Volker Leidl Waldek Herka diff --git a/WHATSNEW b/WHATSNEW index 9d642fc3c..00cae0615 100644 --- a/WHATSNEW +++ b/WHATSNEW @@ -30,6 +30,11 @@ Fixed bugs: NTFS filesystems and re-created archives more often than necessary. Bugzilla Report 59562 + * AntClassLoader didn't delegate to the parent loader for classes in + the "jdk" package or one of its subpackages. This hierarchy has + been introduced with Java 7. + Bugzilla Report 59556 + Other changes: -------------- diff --git a/contributors.xml b/contributors.xml index bf49ac3ed..1356f3801 100644 --- a/contributors.xml +++ b/contributors.xml @@ -225,6 +225,10 @@ Charlie Hubbard + + Chris + Hegarty + Chris Povirk @@ -1616,6 +1620,10 @@ Vincent Legoll + + Vincent + Privat + Vimil Saju diff --git a/src/main/org/apache/tools/ant/util/JavaEnvUtils.java b/src/main/org/apache/tools/ant/util/JavaEnvUtils.java index df7782086..4f244da31 100644 --- a/src/main/org/apache/tools/ant/util/JavaEnvUtils.java +++ b/src/main/org/apache/tools/ant/util/JavaEnvUtils.java @@ -430,6 +430,8 @@ public final class JavaEnvUtils { case VERSION_1_9: case VERSION_1_8: case VERSION_1_7: + jrePackages.addElement("jdk"); + // fall through case VERSION_1_6: case VERSION_1_5: //In Java1.5, the apache stuff moved. @@ -483,6 +485,8 @@ public final class JavaEnvUtils { case VERSION_1_9: case VERSION_1_8: case VERSION_1_7: + tests.addElement("jdk.net.Sockets"); + // fall through case VERSION_1_6: case VERSION_1_5: tests.addElement(