[JBoss JIRA] (FURNACE-71) ClassLoaderInterceptor does not support invocation of package-default methods
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FURNACE-71?page=com.atlassian.jira.plugin... ]
George Gastaldi updated FURNACE-71:
-----------------------------------
Summary: ClassLoaderInterceptor does not support invocation of package-default methods (was: ClassLoaderInterceptor does not support invoking package-default methods)
> ClassLoaderInterceptor does not support invocation of package-default methods
> -----------------------------------------------------------------------------
>
> Key: FURNACE-71
> URL: https://issues.jboss.org/browse/FURNACE-71
> Project: Forge: Furnace
> Issue Type: Bug
> Components: ClassLoader Adapter
> Affects Versions: 2.20.1.Final
> Reporter: George Gastaldi
> Priority: Minor
> Fix For: 2.x Future
>
>
> Having a service A and a service B in the same package, and B is proxied through ClassLoaderInterceptor, the following happens when A tries to invoke a package default method (no modifiers) in B:
> {code}
> java.lang.IllegalAccessException: Class org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1 can not access a member of class B with modifiers ""
> at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:102)
> at java.lang.reflect.AccessibleObject.slowCheckMemberAccess(AccessibleObject.java:296)
> at java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:288)
> at java.lang.reflect.Method.invoke(Method.java:490)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
> at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
> at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 7 months
[JBoss JIRA] (FURNACE-71) ClassLoaderInterceptor does not support invoking package-default methods
by George Gastaldi (JIRA)
George Gastaldi created FURNACE-71:
--------------------------------------
Summary: ClassLoaderInterceptor does not support invoking package-default methods
Key: FURNACE-71
URL: https://issues.jboss.org/browse/FURNACE-71
Project: Forge: Furnace
Issue Type: Bug
Components: ClassLoader Adapter
Affects Versions: 2.20.1.Final
Reporter: George Gastaldi
Priority: Minor
Fix For: 2.x Future
Having a service A and a service B in the same package, and B is proxied through ClassLoaderInterceptor, the following happens when A tries to invoke a package default method (no modifiers) in B:
{code}
java.lang.IllegalAccessException: Class org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1 can not access a member of class B with modifiers ""
at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:102)
at java.lang.reflect.AccessibleObject.slowCheckMemberAccess(AccessibleObject.java:296)
at java.lang.reflect.AccessibleObject.checkAccess(AccessibleObject.java:288)
at java.lang.reflect.Method.invoke(Method.java:490)
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87)
at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42)
at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103)
{code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 7 months
[JBoss JIRA] (FORGE-2381) Being able to create a new SOAP webservice
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/FORGE-2381?page=com.atlassian.jira.plugin... ]
George Gastaldi closed FORGE-2381.
----------------------------------
Fix Version/s: 2.17.1.Final
(was: 2.x Future)
Resolution: Done
> Being able to create a new SOAP webservice
> ------------------------------------------
>
> Key: FORGE-2381
> URL: https://issues.jboss.org/browse/FORGE-2381
> Project: Forge
> Issue Type: Sub-task
> Components: Java EE
> Affects Versions: 2.16.2.Final
> Reporter: Antonio Goncalves
> Assignee: Antonio Goncalves
> Labels: starter
> Fix For: 2.17.1.Final
>
>
> It would be good to have a command to create a SOAP webservice (even if it's not fashionable, it's still heavily used ;o). A command like this :
> {code}
> soap-new-service --named MyWebService
> {code}
> Would generate
> {code}
> @WebService
> public class MyWebService {
> }
> {code}
> This new command should go under the {{org.jboss.forge.addon.javaee.jaxws.ui}} package.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 7 months
[JBoss JIRA] (FORGE-2434) Being able to create new Websocket Decoder
by Antonio Goncalves (JIRA)
Antonio Goncalves created FORGE-2434:
----------------------------------------
Summary: Being able to create new Websocket Decoder
Key: FORGE-2434
URL: https://issues.jboss.org/browse/FORGE-2434
Project: Forge
Issue Type: Sub-task
Components: Java EE
Affects Versions: 2.17.0.Final
Reporter: Antonio Goncalves
Fix For: 2.x Future
It would be good to be able to create a Websocket Message Decoder with the following command :
{code}
websocket-new-decoder --named MyDecoder --encoderType TEXT --type MyMessage
{code}
The generated code would look like
{code}
public class MessageDecoder implements Decoder.Text<MyMessage> {
@Override
public MyMessage decode(String s) throws DecodeException {
return null;
}
@Override
public boolean willDecode(String s) {
return false;
}
@Override
public void init(EndpointConfig endpointConfig) {
}
@Override
public void destroy() {
}
}
{code}
The {{encoderType}} parameter can be {{TEXT}}, {{TextStream}}, {{Binary}}, {{BinaryStream}}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 7 months
[JBoss JIRA] (FORGE-2433) Being able to create new Websocket Encoder
by Antonio Goncalves (JIRA)
Antonio Goncalves created FORGE-2433:
----------------------------------------
Summary: Being able to create new Websocket Encoder
Key: FORGE-2433
URL: https://issues.jboss.org/browse/FORGE-2433
Project: Forge
Issue Type: Sub-task
Components: Java EE
Affects Versions: 2.17.0.Final
Reporter: Antonio Goncalves
Fix For: 2.x Future
It would be good to be able to create a Websocket Message Encoder with the following command :
{code}
websocket-new-encoder --named MyEncoder --encoderType TEXT --type MyMessage
{code}
The generated code would look like
{code}
public class MyEncoder implements Encoder.Text<MyMessage> {
@Override
public void init(EndpointConfig endpointConfig) {
}
@Override
public void destroy() {
}
@Override
public String encode(MyMessage myMessage) throws EncodeException {
return null;
}
}
{code}
The {{encoderType}} parameter can be {{TEXT}}, {{TextStream}}, {{Binary}}, {{BinaryStream}}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
10 years, 7 months