www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brian Agnew <brian.ag...@saudibank.com>
Subject mod_jserv/4324: Curious behaviour with respect to
Date Wed, 28 Apr 1999 16:47:04 GMT

>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
>Originator:     brian.agnew@saudibank.com
>Release:        1.3.6 / 1.0b3
Solaris 5.6, Sun JDK 1.1.6
I have a servlet with an inner class, and a constructor associated with that class.


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.
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.
Not that familiar with the class loader, I'm afraid....
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> 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!         ]

View raw message