tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Svetlin Zarev <svetlin.angelov.za...@gmail.com>
Subject TomcatWebAppBuilder overwrites the last added event listener
Date Thu, 04 Aug 2016 13:08:10 GMT
Hi,

The TomcatWebAppBuilder overwrites the last added event listener.
Line 1764 (on branch/tag 7.0.1):

System.arraycopy(appEventListeners, 0, newEventListeners, 1,
appEventListeners.length);
newEventListeners[newEventListeners.length - 1] = endWebBeansListener;

It should be:
System.arraycopy(appEventListeners, 0, newEventListeners, 0,
appEventListeners.length);
newEventListeners[newEventListeners.length - 1] = endWebBeansListener;

Kind regards,
Svetlin

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message