[JBoss JIRA] (WFLY-7367) add per PU cache of the new temp classloader returned from PersistenceUnitMetadataImpl.getNewTempClassLoader()
by Scott Marlow (JIRA)
[ https://issues.jboss.org/browse/WFLY-7367?page=com.atlassian.jira.plugin.... ]
Scott Marlow commented on WFLY-7367:
------------------------------------
[https://java.net/projects/jpa-spec/lists/users/archive/2016-10/message/1] proposes a change to allow the new temp classloader to be cached per persistence unit (for the scope of the createContainerEntityManagerFactory() call).
> add per PU cache of the new temp classloader returned from PersistenceUnitMetadataImpl.getNewTempClassLoader()
> --------------------------------------------------------------------------------------------------------------
>
> Key: WFLY-7367
> URL: https://issues.jboss.org/browse/WFLY-7367
> Project: WildFly
> Issue Type: Enhancement
> Components: JPA / Hibernate
> Reporter: Scott Marlow
> Assignee: Scott Marlow
>
> The new temporary classloader returned by the WildFly PersistenceUnitInfo.getNewTempClassLoader() is currently created on every call.
> Ensure that the cached temp classloader reference is cleared after the PersistenceProvider.createContainerEntityManagerFactory() call returns.
> Javadoc description from [http://docs.oracle.com/javaee/7/api/javax/persistence/spi/PersistenceUnit...]
> {quote}
> ClassLoader getNewTempClassLoader()
> Return a new instance of a ClassLoader that the provider may use to temporarily load any classes, resources, or open URLs. The scope and classpath of this loader is exactly the same as that of the loader returned by getClassLoader(). None of the classes loaded by this class loader will be visible to application components. The provider may only use this ClassLoader within the scope of the PersistenceProvider.createContainerEntityManagerFactory(javax.persistence.spi.PersistenceUnitInfo, java.util.Map) call.
> Returns:
> temporary ClassLoader with same visibility as current loader
> {quote}
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
9 years, 6 months
[JBoss JIRA] (WFCORE-1868) wrong parse of double quote in `\\"`
by Jean-Francois Denise (JIRA)
[ https://issues.jboss.org/browse/WFCORE-1868?page=com.atlassian.jira.plugi... ]
Jean-Francois Denise commented on WFCORE-1868:
----------------------------------------------
Hi Hisanobu,
I have commented on your PR saying that we had understood the issue and that I was Ok with this fix being merged.
Regards.
JF
> wrong parse of double quote in `\\"`
> -------------------------------------
>
> Key: WFCORE-1868
> URL: https://issues.jboss.org/browse/WFCORE-1868
> Project: WildFly Core
> Issue Type: Bug
> Components: CLI
> Environment: JBoss EAP 7.0.0
> Reporter: Hisanobu Okuda
> Assignee: Jean-Francois Denise
>
> jboss-cli does not parse command line if command line contains {code}\\"{code}
> When a command is
> {code}/system-property=foo4:add(value="vvv\\"){code}
> it shows the sub-prompt '> ' like:
> {code}
> [standalone@localhost:9990 /] /system-property=foo4:add(value="vvv\\")
> >
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
9 years, 6 months
[JBoss JIRA] (WFLY-7375) Upgrade Netty to 4.0.42.FINAL
by Tobias Stadler (JIRA)
Tobias Stadler created WFLY-7375:
------------------------------------
Summary: Upgrade Netty to 4.0.42.FINAL
Key: WFLY-7375
URL: https://issues.jboss.org/browse/WFLY-7375
Project: WildFly
Issue Type: Component Upgrade
Components: JMS
Affects Versions: 10.1.0.Final
Reporter: Tobias Stadler
Assignee: Jeff Mesnil
Upgrade Netty to 4.0.42.FINAL,
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
9 years, 6 months