[JBoss JIRA] (DROOLS-1109) Change Impact: modify drools-compiler so that information is collected during compilation
by Marco Rietveld (JIRA)
[ https://issues.jboss.org/browse/DROOLS-1109?page=com.atlassian.jira.plugi... ]
Marco Rietveld updated DROOLS-1109:
-----------------------------------
Description:
The problem is that Action instances created at compile time by {{drools-compiler}} contain reference information that can otherwise not be retrieved by parsing the DRL.
The code associated with this issue adds an (compiler) option to retrieve this information during compilation, so that (indexer) code in the workbench can take advantage of this code so subsequently index and use when analysing change impact and doing refactoring operations.
> Change Impact: modify drools-compiler so that information is collected during compilation
> -----------------------------------------------------------------------------------------
>
> Key: DROOLS-1109
> URL: https://issues.jboss.org/browse/DROOLS-1109
> Project: Drools
> Issue Type: Task
> Affects Versions: 6.3.0.Final
> Reporter: Marco Rietveld
> Assignee: Marco Rietveld
>
> The problem is that Action instances created at compile time by {{drools-compiler}} contain reference information that can otherwise not be retrieved by parsing the DRL.
> The code associated with this issue adds an (compiler) option to retrieve this information during compilation, so that (indexer) code in the workbench can take advantage of this code so subsequently index and use when analysing change impact and doing refactoring operations.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years
[JBoss JIRA] (JGRP-2035) Util class tries to locate resource bundles using TCCL, which fails
by Jan Martiska (JIRA)
[ https://issues.jboss.org/browse/JGRP-2035?page=com.atlassian.jira.plugin.... ]
Jan Martiska updated JGRP-2035:
-------------------------------
Steps to Reproduce:
In EAP 7.0.0.ER7, deploy an application containing a persistence.xml containing this
{noformat}
<property name="hibernate.cache.use_second_level_cache" value="true" />
<property name="hibernate.cache.region.factory_class" value="org.hibernate.cache.infinispan.InfinispanRegionFactory" />
{noformat}
was:
In EAP 7.0.0.ER7, deploy an application containing a persistence.xml containing this
{noformat}
<property name="hibernate.cache.region.factory_class" value="org.hibernate.cache.infinispan.InfinispanRegionFactory" />
{noformat}
> Util class tries to locate resource bundles using TCCL, which fails
> -------------------------------------------------------------------
>
> Key: JGRP-2035
> URL: https://issues.jboss.org/browse/JGRP-2035
> Project: JGroups
> Issue Type: Bug
> Reporter: Jan Martiska
> Assignee: Bela Ban
> Priority: Blocker
>
> {{org.jgroups.util.Util}} class tries to locate jg-messages bundle using the TCCL, not its own class loader. In a Java SE environment, this typically doesn't matter, because the class loaders are the same, but in EAP, this means that jg-messages is sought by the class loader of the application rather than the class loader of JGroups module, which is obviously wrong. This is the offending line: https://github.com/belaban/JGroups/blob/master/src/org/jgroups/util/Util....
> The call to getBundle fails with a MissingResourceException (see http://docs.oracle.com/javase/6/docs/api/java/util/ResourceBundle.html#ge...) and because this code is in a static initializer, the Util class becomes unusable.
> This causes Hibernate applications with 2LC infinispan clustering backend to not work.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years
[JBoss JIRA] (JGRP-2035) Util class tries to locate resource bundles using TCCL, which fails
by Jan Martiska (JIRA)
[ https://issues.jboss.org/browse/JGRP-2035?page=com.atlassian.jira.plugin.... ]
Jan Martiska updated JGRP-2035:
-------------------------------
Steps to Reproduce:
In EAP 7.0.0.ER7, deploy an application containing a persistence.xml containing this
{noformat}
<property name="hibernate.cache.region.factory_class" value="org.hibernate.cache.infinispan.InfinispanRegionFactory" />
{noformat}
was:
In EAP, deploy an application containing a persistence.xml containing this
{noformat}
<property name="hibernate.cache.region.factory_class" value="org.hibernate.cache.infinispan.InfinispanRegionFactory" />
{noformat}
> Util class tries to locate resource bundles using TCCL, which fails
> -------------------------------------------------------------------
>
> Key: JGRP-2035
> URL: https://issues.jboss.org/browse/JGRP-2035
> Project: JGroups
> Issue Type: Bug
> Reporter: Jan Martiska
> Assignee: Bela Ban
> Priority: Blocker
>
> {{org.jgroups.util.Util}} class tries to locate jg-messages bundle using the TCCL, not its own class loader. In a Java SE environment, this typically doesn't matter, because the class loaders are the same, but in EAP, this means that jg-messages is sought by the class loader of the application rather than the class loader of JGroups module, which is obviously wrong. This is the offending line: https://github.com/belaban/JGroups/blob/master/src/org/jgroups/util/Util....
> The call to getBundle fails with a MissingResourceException (see http://docs.oracle.com/javase/6/docs/api/java/util/ResourceBundle.html#ge...) and because this code is in a static initializer, the Util class becomes unusable.
> This causes Hibernate applications with 2LC infinispan clustering backend to not work.
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
8 years