>Number: 4324
>Category: mod_jserv
>Synopsis: Curious behaviour with respect to
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: jserv
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Wed Apr 28 09:50:00 PDT 1999
>Last-Modified:
>Originator: [EMAIL PROTECTED]
>Organization:
apache
>Release: 1.3.6 / 1.0b3
>Environment:
Solaris 5.6, Sun JDK 1.1.6
>Description:
I have a servlet with an inner class, and a constructor associated with that
class.
eg.
public class MyClass {
private class Inner {
public Inner() {
}
}
}
This runs fine from the command line. If I change the constructor to be
private, then it still runs from the command line, but fails under JServ. I get
a java.lang.IllegalAccessException when trying to access the constructor.
>How-To-Repeat:
No example URL, I'm afraid. I've just built a basic servlet to exhibit this
behaviour. The error will appear in the JServ log.
>Fix:
Not that familiar with the class loader, I'm afraid....
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, ]
[you need to include <[EMAIL PROTECTED]> in the Cc line ]
[and leave the subject line UNCHANGED. This is not done]
[automatically because of the potential for mail loops. ]
[If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request ]
[from a developer. ]
[Reply only with text; DO NOT SEND ATTACHMENTS! ]