From e6d08dfeb295a0de6aa05a599fe5b0580e7f2df9 Mon Sep 17 00:00:00 2001 From: Stefan Bodewig Date: Mon, 7 Jan 2002 17:06:28 +0000 Subject: [PATCH] Skip SQLExecTest if the testcase and the implementation would be loaded by different classloaders. package private access is only allowed if the classes belong to the same "runtime package", which is the fully qualified package name plus the defining classloader. Enough reading of JLS and VMSPEC for me for today 8-) We probably could code around the problem by placing a subclass of SQLExec into the same classloader as SQLExecTest and invoke methods on this subclass. git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@270618 13f79535-47bb-0310-9956-ffa450edef68 --- build.xml | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) diff --git a/build.xml b/build.xml index 6a07d61a5..ed3b3c236 100644 --- a/build.xml +++ b/build.xml @@ -207,6 +207,13 @@ + + + + + + + - - - + + + + + + @@ -905,11 +916,15 @@ - - + + + +