On Tue, Jun 23, 2026 at 10:52 PM Christopher Schultz
<[email protected]> wrote:
>
> Amit,
>
> On 6/23/26 2:01 PM, Amit Pande via users wrote:
> > Hello,
> >
> > protected static class RequestElement implements AccessLogElement {
> >
> > /**
> > * Constructs a new RequestElement.
> > */
> > RequestElement() {
> >
> >
> > Javadoc fixes and improvements · 
> > apache/tomcat@53c8f1e<https://github.com/apache/tomcat/commit/53c8f1ef59cb2bd1f03b7348b59263bfe3738550#diff-2a57b3aba46c5951ddee8deb44f6e415f08899734b938fd114ceb7ffc1a4df14>
> >
> > In 10.1.56, above change has caused breakage in code extending from 
> > RequestElement .
> >
> >
> >           error: RequestElement() is not public in RequestElement; cannot 
> > be accessed from outside package
> >
> >
> > Is this change intentional? If yes, what is the recommended alternate?
>
> This is a protected class. How (exactly) are you using it in your code?

This is a bit random. Some of the constructors are public, others
protected, and now I added some package ones (not very fun, should be
either public or protected).

Rémy

> I'd like to see the code you have and the declaration of the enclosing
> class(es).
>
> -chris
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to