[
https://issues.redhat.com/browse/WFLY-13790?page=com.atlassian.jira.plugi...
]
Ahcene Kessal updated WFLY-13790:
---------------------------------
Description:
org.eclipse.yasson.internal.JsonBinding keeps a reference on an enum after the war is
undeployed which results in a classloader leak.
# Deploy the following application:
{code:java}
package au.com.spatiumxl.rest;
[...]
import au.com.spatiumxl.ejb.BookService;
import au.com.spatiumxl.model.Book;
@RequestScoped
@RequestScoped
@Path("")public class BookEndPoint {
@Inject BookService bookService;
@GET @Path("/get-books")
@Produces("application/json")
public List<Book> getBooks() {
return bookService.getBooks();
}
}
{code}
was:org.eclipse.yasson.internal.JsonBinding keeps a reference on an enum after the war
is undeployed which results in a classloader leak.
Memory leak caused by org.eclipse.yasson.internal.JsonBinding
-------------------------------------------------------------
Key: WFLY-13790
URL:
https://issues.redhat.com/browse/WFLY-13790
Project: WildFly
Issue Type: Bug
Components: REST
Affects Versions: 20.0.1.Final
Reporter: Ahcene Kessal
Assignee: Alessio Soldano
Priority: Major
org.eclipse.yasson.internal.JsonBinding keeps a reference on an enum after the war is
undeployed which results in a classloader leak.
# Deploy the following application:
{code:java}
package au.com.spatiumxl.rest;
[...]
import au.com.spatiumxl.ejb.BookService;
import au.com.spatiumxl.model.Book;
@RequestScoped
@RequestScoped
@Path("")public class BookEndPoint {
@Inject BookService bookService;
@GET @Path("/get-books")
@Produces("application/json")
public List<Book> getBooks() {
return bookService.getBooks();
}
}
{code}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)