[jira] [Commented] (CXF-8381) EasyMock is causing illegal reflective access warning with Java 11

2020-11-28 Thread Andriy Redko (Jira)


[ 
https://issues.apache.org/jira/browse/CXF-8381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17240097#comment-17240097
 ] 

Andriy Redko commented on CXF-8381:
---

Thanks pointing it out [~peterdm] , AFAIK EasyMock is still used in test cases 
predating the Mockito era, we are trying to migrate them upon occasions (when 
appear in feature or bugfix fe) but  there is no targeted effort to do just 
that. It seems like we are on the latest release of EasyMock though  ...

> EasyMock is causing illegal reflective access warning with Java 11
> --
>
> Key: CXF-8381
> URL: https://issues.apache.org/jira/browse/CXF-8381
> Project: CXF
>  Issue Type: Bug
>Reporter: Peter De Maeyer
>Priority: Minor
>
> When I build cxf master (SHA1 ID 
> {{74ede52ee9594bad61608150d441f1d9a49701aa}}) with OpenJDK Java 11, there is 
> a warning about an illegal reflective access operation:
> {noformat}
> [ERROR] WARNING: An illegal reflective access operation has occurred
> [ERROR] WARNING: Illegal reflective access by 
> org.easymock.cglib.core.ReflectUtils$1 
> (file:/home/peter/.m2/repository/org/easymock/easymock/4.2/easymock-4.2.jar) 
> to method 
> java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
> [ERROR] WARNING: Please consider reporting this to the maintainers of 
> org.easymock.cglib.core.ReflectUtils$1
> [ERROR] WARNING: Use --illegal-access=warn to enable warnings of further 
> illegal reflective access operations
> [ERROR] WARNING: All illegal access operations will be denied in a future 
> release
> {noformat}
> This probably needs to be fixed in EasyMock, or maybe it is already fixed in 
> EasyMock and CXF just needs to bump the version of the dependency?
> Slightly off topic: I was surprised EasyMock is still alive...
> I switched from EasyMock to Mockito 10+ years ago, across different companies 
> and different projects, and never looked back.
> Could CXF consider switching to Mockito too?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (CXF-8382) Running all unit tests gets stuck for no apparent reason

2020-11-28 Thread Peter De Maeyer (Jira)


 [ 
https://issues.apache.org/jira/browse/CXF-8382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter De Maeyer updated CXF-8382:
-
Description: 
When I run all the unit tests on master (SHA1 ID 
{{74ede52ee9594bad61608150d441f1d9a49701aa}}), admittedly, against my own 
santuario and wss4j branches, they get stuck in cxf-rt-rs-security-oauth2 for 
no apparent reason.
I am using OpenJDK Java 11.
The surefire plugin is waiting for a {{CountDownLatch}}, but there is no test 
running anymore.
Thread dump in attachment.

Scenario:
# {{mvn install -DskipTests}}
# {{mvn surefire:test}} {color:grey}gets stuck{color}
# {{ps -ef | grep java}} {color:grey}to identify the Java {{}}{color}
# {{kill -3 }} {color:grey}to get the thread dump{color}

{noformat}
[INFO] --< org.apache.cxf:cxf-rt-rs-security-oauth2 >--
[INFO] Building Apache CXF Runtime OAuth 2.0 3.5.0-SNAPSHOT[90/198]
[INFO] ---[ bundle ]---
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-cli) @ 
cxf-rt-rs-security-oauth2 ---
[INFO] 
[INFO] ---
[INFO]  T E S T S
[INFO] ---
2020-11-28 21:27:23
Full thread dump OpenJDK 64-Bit Server VM (11.0.9.1+1-Ubuntu-0ubuntu1.20.10 
mixed mode, sharing):
{noformat}

Workaround: skip that project and continue with the next project:
* {{CTRL-C}}
* {{mvn surefire:test -rf :cxf-rt-rs-security-oauth2-saml}}

  was:
When I run all the unit tests on master (SHA1 ID 
{{74ede52ee9594bad61608150d441f1d9a49701aa}}), admittedly, against my own 
santuario and wss4j branches, they get stuck in cxf-rt-rs-security-oauth2 for 
no apparent reason.
I am using OpenJDK Java 11.
The surefire plugin is waiting for a {{CountDownLatch}}, but there is no test 
running anymore.
Thread dump in attachment.

Scenario:
# {{mvn install -DskipTests}}
# {{mvn surefire:test}} {color:grey}gets stuck{color}
# {{ps -ef | grep java}} {color:grey}to identify the Java {{}}{color}
# {{kill -3 }} {color:grey}to get the thread dump{color}

{noformat}
[INFO] --< org.apache.cxf:cxf-rt-rs-security-oauth2 >--
[INFO] Building Apache CXF Runtime OAuth 2.0 3.5.0-SNAPSHOT[90/198]
[INFO] ---[ bundle ]---
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-cli) @ 
cxf-rt-rs-security-oauth2 ---
[INFO] 
[INFO] ---
[INFO]  T E S T S
[INFO] ---
2020-11-28 21:27:23
Full thread dump OpenJDK 64-Bit Server VM (11.0.9.1+1-Ubuntu-0ubuntu1.20.10 
mixed mode, sharing):
{noformat}


> Running all unit tests gets stuck for no apparent reason
> 
>
> Key: CXF-8382
> URL: https://issues.apache.org/jira/browse/CXF-8382
> Project: CXF
>  Issue Type: Bug
>Reporter: Peter De Maeyer
>Priority: Minor
> Attachments: thread-dump.txt
>
>
> When I run all the unit tests on master (SHA1 ID 
> {{74ede52ee9594bad61608150d441f1d9a49701aa}}), admittedly, against my own 
> santuario and wss4j branches, they get stuck in cxf-rt-rs-security-oauth2 for 
> no apparent reason.
> I am using OpenJDK Java 11.
> The surefire plugin is waiting for a {{CountDownLatch}}, but there is no test 
> running anymore.
> Thread dump in attachment.
> Scenario:
> # {{mvn install -DskipTests}}
> # {{mvn surefire:test}} {color:grey}gets stuck{color}
> # {{ps -ef | grep java}} {color:grey}to identify the Java {{}}{color}
> # {{kill -3 }} {color:grey}to get the thread dump{color}
> {noformat}
> [INFO] --< org.apache.cxf:cxf-rt-rs-security-oauth2 
> >--
> [INFO] Building Apache CXF Runtime OAuth 2.0 3.5.0-SNAPSHOT
> [90/198]
> [INFO] ---[ bundle 
> ]---
> [INFO] 
> [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-cli) @ 
> cxf-rt-rs-security-oauth2 ---
> [INFO] 
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> 2020-11-28 21:27:23
> Full thread dump OpenJDK 64-Bit Server VM (11.0.9.1+1-Ubuntu-0ubuntu1.20.10 
> mixed mode, sharing):
> {noformat}
> Workaround: skip that project and continue with the next project:
> * {{CTRL-C}}
> * {{mvn surefire:test -rf :cxf-rt-rs-security-oauth2-saml}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (CXF-8382) Running all unit tests gets stuck for no apparent reason

2020-11-28 Thread Peter De Maeyer (Jira)


 [ 
https://issues.apache.org/jira/browse/CXF-8382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter De Maeyer updated CXF-8382:
-
Description: 
When I run all the unit tests on master (SHA1 ID 
{{74ede52ee9594bad61608150d441f1d9a49701aa}}), admittedly, against my own 
santuario and wss4j branches, they get stuck in cxf-rt-rs-security-oauth2 for 
no apparent reason.
I am using OpenJDK Java 11.
The surefire plugin is waiting for a {{CountDownLatch}}, but there is no test 
running anymore.
Thread dump in attachment.

h3. Scenario
# {{mvn install -DskipTests}}
# {{mvn surefire:test}} {color:grey}gets stuck{color}
# {{ps -ef | grep java}} {color:grey}to identify the Java {{}}{color}
# {{kill -3 }} {color:grey}to get the thread dump{color}

{noformat}
[INFO] --< org.apache.cxf:cxf-rt-rs-security-oauth2 >--
[INFO] Building Apache CXF Runtime OAuth 2.0 3.5.0-SNAPSHOT[90/198]
[INFO] ---[ bundle ]---
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-cli) @ 
cxf-rt-rs-security-oauth2 ---
[INFO] 
[INFO] ---
[INFO]  T E S T S
[INFO] ---
2020-11-28 21:27:23
Full thread dump OpenJDK 64-Bit Server VM (11.0.9.1+1-Ubuntu-0ubuntu1.20.10 
mixed mode, sharing):
{noformat}

h3. Workaround

Skip that project and continue with the next project:
* {{CTRL-C}}
* {{mvn surefire:test -rf :cxf-rt-rs-security-oauth2-saml}}

  was:
When I run all the unit tests on master (SHA1 ID 
{{74ede52ee9594bad61608150d441f1d9a49701aa}}), admittedly, against my own 
santuario and wss4j branches, they get stuck in cxf-rt-rs-security-oauth2 for 
no apparent reason.
I am using OpenJDK Java 11.
The surefire plugin is waiting for a {{CountDownLatch}}, but there is no test 
running anymore.
Thread dump in attachment.

Scenario:
# {{mvn install -DskipTests}}
# {{mvn surefire:test}} {color:grey}gets stuck{color}
# {{ps -ef | grep java}} {color:grey}to identify the Java {{}}{color}
# {{kill -3 }} {color:grey}to get the thread dump{color}

{noformat}
[INFO] --< org.apache.cxf:cxf-rt-rs-security-oauth2 >--
[INFO] Building Apache CXF Runtime OAuth 2.0 3.5.0-SNAPSHOT[90/198]
[INFO] ---[ bundle ]---
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-cli) @ 
cxf-rt-rs-security-oauth2 ---
[INFO] 
[INFO] ---
[INFO]  T E S T S
[INFO] ---
2020-11-28 21:27:23
Full thread dump OpenJDK 64-Bit Server VM (11.0.9.1+1-Ubuntu-0ubuntu1.20.10 
mixed mode, sharing):
{noformat}

Workaround: skip that project and continue with the next project:
* {{CTRL-C}}
* {{mvn surefire:test -rf :cxf-rt-rs-security-oauth2-saml}}


> Running all unit tests gets stuck for no apparent reason
> 
>
> Key: CXF-8382
> URL: https://issues.apache.org/jira/browse/CXF-8382
> Project: CXF
>  Issue Type: Bug
>Reporter: Peter De Maeyer
>Priority: Minor
> Attachments: thread-dump.txt
>
>
> When I run all the unit tests on master (SHA1 ID 
> {{74ede52ee9594bad61608150d441f1d9a49701aa}}), admittedly, against my own 
> santuario and wss4j branches, they get stuck in cxf-rt-rs-security-oauth2 for 
> no apparent reason.
> I am using OpenJDK Java 11.
> The surefire plugin is waiting for a {{CountDownLatch}}, but there is no test 
> running anymore.
> Thread dump in attachment.
> h3. Scenario
> # {{mvn install -DskipTests}}
> # {{mvn surefire:test}} {color:grey}gets stuck{color}
> # {{ps -ef | grep java}} {color:grey}to identify the Java {{}}{color}
> # {{kill -3 }} {color:grey}to get the thread dump{color}
> {noformat}
> [INFO] --< org.apache.cxf:cxf-rt-rs-security-oauth2 
> >--
> [INFO] Building Apache CXF Runtime OAuth 2.0 3.5.0-SNAPSHOT
> [90/198]
> [INFO] ---[ bundle 
> ]---
> [INFO] 
> [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-cli) @ 
> cxf-rt-rs-security-oauth2 ---
> [INFO] 
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> 2020-11-28 21:27:23
> Full thread dump OpenJDK 64-Bit Server VM (11.0.9.1+1-Ubuntu-0ubuntu1.20.10 
> mixed mode, sharing):
> {noformat}
> h3. Workaround
> Skip that project and continue with the next project:
> * {{CTRL-C}}
> * {{mvn surefire:test -rf :cxf-rt-rs-security-oauth2-saml}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (CXF-8382) Running all unit tests gets stuck for no apparent reason

2020-11-28 Thread Peter De Maeyer (Jira)


 [ 
https://issues.apache.org/jira/browse/CXF-8382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter De Maeyer updated CXF-8382:
-
Description: 
When I run all the unit tests on master (SHA1 ID 
{{74ede52ee9594bad61608150d441f1d9a49701aa}}), admittedly, against my own 
santuario and wss4j branches, they get stuck in cxf-rt-rs-security-oauth2 for 
no apparent reason.
I am using OpenJDK Java 11.
The surefire plugin is waiting for a {{CountDownLatch}}, but there is no test 
running anymore.
Thread dump in attachment.

Scenario:
# {{mvn install -DskipTests}}
# {{mvn surefire:test}} {color:grey}gets stuck{color}
# {{ps -ef | grep java}} {color:grey}to identify the Java {{}}{color}
# {{kill -3 }} {color:grey}to get the thread dump{color}

{noformat}
[INFO] --< org.apache.cxf:cxf-rt-rs-security-oauth2 >--
[INFO] Building Apache CXF Runtime OAuth 2.0 3.5.0-SNAPSHOT[90/198]
[INFO] ---[ bundle ]---
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-cli) @ 
cxf-rt-rs-security-oauth2 ---
[INFO] 
[INFO] ---
[INFO]  T E S T S
[INFO] ---
2020-11-28 21:27:23
Full thread dump OpenJDK 64-Bit Server VM (11.0.9.1+1-Ubuntu-0ubuntu1.20.10 
mixed mode, sharing):
{noformat}

  was:
When running all the unit tests on master (SHA1 ID 
{{74ede52ee9594bad61608150d441f1d9a49701aa}}, admittedly, against my own 
santuario and wss4j branches), they get stuck in cxf-rt-rs-security-oauth2 for 
no apparent reason.
I am using OpenJDK Java 11.
The surefire plugin is waiting for a {{CountDownLatch}}, but there is no test 
running anymore.
Thread dump in attachment.

Scenario:
# {{mvn install -DskipTests}}
# {{mvn surefire:test}} {color:grey}gets stuck{color}
# {{ps -ef | grep java}} {color:grey}to identify the Java {{}}{color}
# {{kill -3 }} {color:grey}to get the thread dump{color}

{noformat}
[INFO] --< org.apache.cxf:cxf-rt-rs-security-oauth2 >--
[INFO] Building Apache CXF Runtime OAuth 2.0 3.5.0-SNAPSHOT[90/198]
[INFO] ---[ bundle ]---
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-cli) @ 
cxf-rt-rs-security-oauth2 ---
[INFO] 
[INFO] ---
[INFO]  T E S T S
[INFO] ---
2020-11-28 21:27:23
Full thread dump OpenJDK 64-Bit Server VM (11.0.9.1+1-Ubuntu-0ubuntu1.20.10 
mixed mode, sharing):
{noformat}


> Running all unit tests gets stuck for no apparent reason
> 
>
> Key: CXF-8382
> URL: https://issues.apache.org/jira/browse/CXF-8382
> Project: CXF
>  Issue Type: Bug
>Reporter: Peter De Maeyer
>Priority: Minor
> Attachments: thread-dump.txt
>
>
> When I run all the unit tests on master (SHA1 ID 
> {{74ede52ee9594bad61608150d441f1d9a49701aa}}), admittedly, against my own 
> santuario and wss4j branches, they get stuck in cxf-rt-rs-security-oauth2 for 
> no apparent reason.
> I am using OpenJDK Java 11.
> The surefire plugin is waiting for a {{CountDownLatch}}, but there is no test 
> running anymore.
> Thread dump in attachment.
> Scenario:
> # {{mvn install -DskipTests}}
> # {{mvn surefire:test}} {color:grey}gets stuck{color}
> # {{ps -ef | grep java}} {color:grey}to identify the Java {{}}{color}
> # {{kill -3 }} {color:grey}to get the thread dump{color}
> {noformat}
> [INFO] --< org.apache.cxf:cxf-rt-rs-security-oauth2 
> >--
> [INFO] Building Apache CXF Runtime OAuth 2.0 3.5.0-SNAPSHOT
> [90/198]
> [INFO] ---[ bundle 
> ]---
> [INFO] 
> [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-cli) @ 
> cxf-rt-rs-security-oauth2 ---
> [INFO] 
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> 2020-11-28 21:27:23
> Full thread dump OpenJDK 64-Bit Server VM (11.0.9.1+1-Ubuntu-0ubuntu1.20.10 
> mixed mode, sharing):
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (CXF-8382) Running all unit tests gets stuck for no apparent reason

2020-11-28 Thread Peter De Maeyer (Jira)


 [ 
https://issues.apache.org/jira/browse/CXF-8382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter De Maeyer updated CXF-8382:
-
Description: 
When running all the unit tests on ma(admittedly, against my own santuario and 
wss4j branches), they get stuck in cxf-rt-rs-security-oauth2 for no apparent 
reason.
I am using OpenJDK Java 11.
The surefire plugin is waiting for a {{CountDownLatch}}, but there is no test 
running anymore.
Thread dump in attachment.

Scenario:
# {{mvn install -DskipTests}}
# {{mvn surefire:test}} {color:grey}gets stuck{color}
# {{ps -ef | grep java}} {color:grey}to identify the Java {{}}{color}
# {{kill -3 }} {color:grey}to get the thread dump{color}

{noformat}
[INFO] --< org.apache.cxf:cxf-rt-rs-security-oauth2 >--
[INFO] Building Apache CXF Runtime OAuth 2.0 3.5.0-SNAPSHOT[90/198]
[INFO] ---[ bundle ]---
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-cli) @ 
cxf-rt-rs-security-oauth2 ---
[INFO] 
[INFO] ---
[INFO]  T E S T S
[INFO] ---
2020-11-28 21:27:23
Full thread dump OpenJDK 64-Bit Server VM (11.0.9.1+1-Ubuntu-0ubuntu1.20.10 
mixed mode, sharing):
{noformat}

  was:
Found on current master branch, SHA1 commit ID 
{{74ede52ee9594bad61608150d441f1d9a49701aa}}, compiling against my 
SANTUARIO-555 branches of santuario and wss4j.
When running all the unit tests (admittedly, against my own santuario and wss4j 
branches), they get stuck in cxf-rt-rs-security-oauth2 for no apparent reason.
I am using OpenJDK Java 11.
The surefire plugin is waiting for a {{CountDownLatch}}, but there is no test 
running anymore.
Thread dump in attachment.

Scenario:
# {{mvn install -DskipTests}}
# {{mvn surefire:test}} {color:grey}gets stuck{color}
# {{ps -ef | grep java}} {color:grey}to identify the Java {{}}{color}
# {{kill -3 }} {color:grey}to get the thread dump{color}

{noformat}
[INFO] --< org.apache.cxf:cxf-rt-rs-security-oauth2 >--
[INFO] Building Apache CXF Runtime OAuth 2.0 3.5.0-SNAPSHOT[90/198]
[INFO] ---[ bundle ]---
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-cli) @ 
cxf-rt-rs-security-oauth2 ---
[INFO] 
[INFO] ---
[INFO]  T E S T S
[INFO] ---
2020-11-28 21:27:23
Full thread dump OpenJDK 64-Bit Server VM (11.0.9.1+1-Ubuntu-0ubuntu1.20.10 
mixed mode, sharing):
{noformat}


> Running all unit tests gets stuck for no apparent reason
> 
>
> Key: CXF-8382
> URL: https://issues.apache.org/jira/browse/CXF-8382
> Project: CXF
>  Issue Type: Bug
>Reporter: Peter De Maeyer
>Priority: Minor
> Attachments: thread-dump.txt
>
>
> When running all the unit tests on ma(admittedly, against my own santuario 
> and wss4j branches), they get stuck in cxf-rt-rs-security-oauth2 for no 
> apparent reason.
> I am using OpenJDK Java 11.
> The surefire plugin is waiting for a {{CountDownLatch}}, but there is no test 
> running anymore.
> Thread dump in attachment.
> Scenario:
> # {{mvn install -DskipTests}}
> # {{mvn surefire:test}} {color:grey}gets stuck{color}
> # {{ps -ef | grep java}} {color:grey}to identify the Java {{}}{color}
> # {{kill -3 }} {color:grey}to get the thread dump{color}
> {noformat}
> [INFO] --< org.apache.cxf:cxf-rt-rs-security-oauth2 
> >--
> [INFO] Building Apache CXF Runtime OAuth 2.0 3.5.0-SNAPSHOT
> [90/198]
> [INFO] ---[ bundle 
> ]---
> [INFO] 
> [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-cli) @ 
> cxf-rt-rs-security-oauth2 ---
> [INFO] 
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> 2020-11-28 21:27:23
> Full thread dump OpenJDK 64-Bit Server VM (11.0.9.1+1-Ubuntu-0ubuntu1.20.10 
> mixed mode, sharing):
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (CXF-8382) Running all unit tests gets stuck for no apparent reason

2020-11-28 Thread Peter De Maeyer (Jira)


 [ 
https://issues.apache.org/jira/browse/CXF-8382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter De Maeyer updated CXF-8382:
-
Description: 
When running all the unit tests on master (SHA1 ID 
{{74ede52ee9594bad61608150d441f1d9a49701aa}}, admittedly, against my own 
santuario and wss4j branches), they get stuck in cxf-rt-rs-security-oauth2 for 
no apparent reason.
I am using OpenJDK Java 11.
The surefire plugin is waiting for a {{CountDownLatch}}, but there is no test 
running anymore.
Thread dump in attachment.

Scenario:
# {{mvn install -DskipTests}}
# {{mvn surefire:test}} {color:grey}gets stuck{color}
# {{ps -ef | grep java}} {color:grey}to identify the Java {{}}{color}
# {{kill -3 }} {color:grey}to get the thread dump{color}

{noformat}
[INFO] --< org.apache.cxf:cxf-rt-rs-security-oauth2 >--
[INFO] Building Apache CXF Runtime OAuth 2.0 3.5.0-SNAPSHOT[90/198]
[INFO] ---[ bundle ]---
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-cli) @ 
cxf-rt-rs-security-oauth2 ---
[INFO] 
[INFO] ---
[INFO]  T E S T S
[INFO] ---
2020-11-28 21:27:23
Full thread dump OpenJDK 64-Bit Server VM (11.0.9.1+1-Ubuntu-0ubuntu1.20.10 
mixed mode, sharing):
{noformat}

  was:
When running all the unit tests on ma(admittedly, against my own santuario and 
wss4j branches), they get stuck in cxf-rt-rs-security-oauth2 for no apparent 
reason.
I am using OpenJDK Java 11.
The surefire plugin is waiting for a {{CountDownLatch}}, but there is no test 
running anymore.
Thread dump in attachment.

Scenario:
# {{mvn install -DskipTests}}
# {{mvn surefire:test}} {color:grey}gets stuck{color}
# {{ps -ef | grep java}} {color:grey}to identify the Java {{}}{color}
# {{kill -3 }} {color:grey}to get the thread dump{color}

{noformat}
[INFO] --< org.apache.cxf:cxf-rt-rs-security-oauth2 >--
[INFO] Building Apache CXF Runtime OAuth 2.0 3.5.0-SNAPSHOT[90/198]
[INFO] ---[ bundle ]---
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-cli) @ 
cxf-rt-rs-security-oauth2 ---
[INFO] 
[INFO] ---
[INFO]  T E S T S
[INFO] ---
2020-11-28 21:27:23
Full thread dump OpenJDK 64-Bit Server VM (11.0.9.1+1-Ubuntu-0ubuntu1.20.10 
mixed mode, sharing):
{noformat}


> Running all unit tests gets stuck for no apparent reason
> 
>
> Key: CXF-8382
> URL: https://issues.apache.org/jira/browse/CXF-8382
> Project: CXF
>  Issue Type: Bug
>Reporter: Peter De Maeyer
>Priority: Minor
> Attachments: thread-dump.txt
>
>
> When running all the unit tests on master (SHA1 ID 
> {{74ede52ee9594bad61608150d441f1d9a49701aa}}, admittedly, against my own 
> santuario and wss4j branches), they get stuck in cxf-rt-rs-security-oauth2 
> for no apparent reason.
> I am using OpenJDK Java 11.
> The surefire plugin is waiting for a {{CountDownLatch}}, but there is no test 
> running anymore.
> Thread dump in attachment.
> Scenario:
> # {{mvn install -DskipTests}}
> # {{mvn surefire:test}} {color:grey}gets stuck{color}
> # {{ps -ef | grep java}} {color:grey}to identify the Java {{}}{color}
> # {{kill -3 }} {color:grey}to get the thread dump{color}
> {noformat}
> [INFO] --< org.apache.cxf:cxf-rt-rs-security-oauth2 
> >--
> [INFO] Building Apache CXF Runtime OAuth 2.0 3.5.0-SNAPSHOT
> [90/198]
> [INFO] ---[ bundle 
> ]---
> [INFO] 
> [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-cli) @ 
> cxf-rt-rs-security-oauth2 ---
> [INFO] 
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> 2020-11-28 21:27:23
> Full thread dump OpenJDK 64-Bit Server VM (11.0.9.1+1-Ubuntu-0ubuntu1.20.10 
> mixed mode, sharing):
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (CXF-8381) EasyMock is causing illegal reflective access warning with Java 11

2020-11-28 Thread Peter De Maeyer (Jira)


 [ 
https://issues.apache.org/jira/browse/CXF-8381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter De Maeyer updated CXF-8381:
-
Affects Version/s: (was: 3.4.1)

> EasyMock is causing illegal reflective access warning with Java 11
> --
>
> Key: CXF-8381
> URL: https://issues.apache.org/jira/browse/CXF-8381
> Project: CXF
>  Issue Type: Bug
>Reporter: Peter De Maeyer
>Priority: Minor
>
> When I build cxf master with Java 11, there is a warning about an illegal 
> reflective access operation:
> {noformat}
> [ERROR] WARNING: An illegal reflective access operation has occurred
> [ERROR] WARNING: Illegal reflective access by 
> org.easymock.cglib.core.ReflectUtils$1 
> (file:/home/peter/.m2/repository/org/easymock/easymock/4.2/easymock-4.2.jar) 
> to method 
> java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
> [ERROR] WARNING: Please consider reporting this to the maintainers of 
> org.easymock.cglib.core.ReflectUtils$1
> [ERROR] WARNING: Use --illegal-access=warn to enable warnings of further 
> illegal reflective access operations
> [ERROR] WARNING: All illegal access operations will be denied in a future 
> release
> {noformat}
> This probably needs to be fixed in EasyMock, or maybe it is already fixed in 
> EasyMock and CXF just needs to bump the version of the dependency?
> Slightly off topic: I was surprised EasyMock is still alive...
> I switched from EasyMock to Mockito 10+ years ago, across different companies 
> and different projects, and never looked back.
> Could CXF consider switching to Mockito too?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (CXF-8381) EasyMock is causing illegal reflective access warning with Java 11

2020-11-28 Thread Peter De Maeyer (Jira)


 [ 
https://issues.apache.org/jira/browse/CXF-8381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter De Maeyer updated CXF-8381:
-
Description: 
When I build cxf master (SHA1 ID {{74ede52ee9594bad61608150d441f1d9a49701aa}}) 
with OpenJDK Java 11, there is a warning about an illegal reflective access 
operation:

{noformat}
[ERROR] WARNING: An illegal reflective access operation has occurred
[ERROR] WARNING: Illegal reflective access by 
org.easymock.cglib.core.ReflectUtils$1 
(file:/home/peter/.m2/repository/org/easymock/easymock/4.2/easymock-4.2.jar) to 
method 
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
[ERROR] WARNING: Please consider reporting this to the maintainers of 
org.easymock.cglib.core.ReflectUtils$1
[ERROR] WARNING: Use --illegal-access=warn to enable warnings of further 
illegal reflective access operations
[ERROR] WARNING: All illegal access operations will be denied in a future 
release
{noformat}

This probably needs to be fixed in EasyMock, or maybe it is already fixed in 
EasyMock and CXF just needs to bump the version of the dependency?

Slightly off topic: I was surprised EasyMock is still alive...
I switched from EasyMock to Mockito 10+ years ago, across different companies 
and different projects, and never looked back.
Could CXF consider switching to Mockito too?

  was:
When I build cxf master (SHA1 ID 74ede52ee9594bad61608150d441f1d9a49701aa) with 
Java 11, there is a warning about an illegal reflective access operation:

{noformat}
[ERROR] WARNING: An illegal reflective access operation has occurred
[ERROR] WARNING: Illegal reflective access by 
org.easymock.cglib.core.ReflectUtils$1 
(file:/home/peter/.m2/repository/org/easymock/easymock/4.2/easymock-4.2.jar) to 
method 
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
[ERROR] WARNING: Please consider reporting this to the maintainers of 
org.easymock.cglib.core.ReflectUtils$1
[ERROR] WARNING: Use --illegal-access=warn to enable warnings of further 
illegal reflective access operations
[ERROR] WARNING: All illegal access operations will be denied in a future 
release
{noformat}

This probably needs to be fixed in EasyMock, or maybe it is already fixed in 
EasyMock and CXF just needs to bump the version of the dependency?

Slightly off topic: I was surprised EasyMock is still alive...
I switched from EasyMock to Mockito 10+ years ago, across different companies 
and different projects, and never looked back.
Could CXF consider switching to Mockito too?


> EasyMock is causing illegal reflective access warning with Java 11
> --
>
> Key: CXF-8381
> URL: https://issues.apache.org/jira/browse/CXF-8381
> Project: CXF
>  Issue Type: Bug
>Reporter: Peter De Maeyer
>Priority: Minor
>
> When I build cxf master (SHA1 ID 
> {{74ede52ee9594bad61608150d441f1d9a49701aa}}) with OpenJDK Java 11, there is 
> a warning about an illegal reflective access operation:
> {noformat}
> [ERROR] WARNING: An illegal reflective access operation has occurred
> [ERROR] WARNING: Illegal reflective access by 
> org.easymock.cglib.core.ReflectUtils$1 
> (file:/home/peter/.m2/repository/org/easymock/easymock/4.2/easymock-4.2.jar) 
> to method 
> java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
> [ERROR] WARNING: Please consider reporting this to the maintainers of 
> org.easymock.cglib.core.ReflectUtils$1
> [ERROR] WARNING: Use --illegal-access=warn to enable warnings of further 
> illegal reflective access operations
> [ERROR] WARNING: All illegal access operations will be denied in a future 
> release
> {noformat}
> This probably needs to be fixed in EasyMock, or maybe it is already fixed in 
> EasyMock and CXF just needs to bump the version of the dependency?
> Slightly off topic: I was surprised EasyMock is still alive...
> I switched from EasyMock to Mockito 10+ years ago, across different companies 
> and different projects, and never looked back.
> Could CXF consider switching to Mockito too?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (CXF-8381) EasyMock is causing illegal reflective access warning with Java 11

2020-11-28 Thread Peter De Maeyer (Jira)


 [ 
https://issues.apache.org/jira/browse/CXF-8381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter De Maeyer updated CXF-8381:
-
Description: 
When I build cxf master (SHA1 ID 74ede52ee9594bad61608150d441f1d9a49701aa) with 
Java 11, there is a warning about an illegal reflective access operation:

{noformat}
[ERROR] WARNING: An illegal reflective access operation has occurred
[ERROR] WARNING: Illegal reflective access by 
org.easymock.cglib.core.ReflectUtils$1 
(file:/home/peter/.m2/repository/org/easymock/easymock/4.2/easymock-4.2.jar) to 
method 
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
[ERROR] WARNING: Please consider reporting this to the maintainers of 
org.easymock.cglib.core.ReflectUtils$1
[ERROR] WARNING: Use --illegal-access=warn to enable warnings of further 
illegal reflective access operations
[ERROR] WARNING: All illegal access operations will be denied in a future 
release
{noformat}

This probably needs to be fixed in EasyMock, or maybe it is already fixed in 
EasyMock and CXF just needs to bump the version of the dependency?

Slightly off topic: I was surprised EasyMock is still alive...
I switched from EasyMock to Mockito 10+ years ago, across different companies 
and different projects, and never looked back.
Could CXF consider switching to Mockito too?

  was:
When I build cxf master with Java 11, there is a warning about an illegal 
reflective access operation:

{noformat}
[ERROR] WARNING: An illegal reflective access operation has occurred
[ERROR] WARNING: Illegal reflective access by 
org.easymock.cglib.core.ReflectUtils$1 
(file:/home/peter/.m2/repository/org/easymock/easymock/4.2/easymock-4.2.jar) to 
method 
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
[ERROR] WARNING: Please consider reporting this to the maintainers of 
org.easymock.cglib.core.ReflectUtils$1
[ERROR] WARNING: Use --illegal-access=warn to enable warnings of further 
illegal reflective access operations
[ERROR] WARNING: All illegal access operations will be denied in a future 
release
{noformat}

This probably needs to be fixed in EasyMock, or maybe it is already fixed in 
EasyMock and CXF just needs to bump the version of the dependency?

Slightly off topic: I was surprised EasyMock is still alive...
I switched from EasyMock to Mockito 10+ years ago, across different companies 
and different projects, and never looked back.
Could CXF consider switching to Mockito too?


> EasyMock is causing illegal reflective access warning with Java 11
> --
>
> Key: CXF-8381
> URL: https://issues.apache.org/jira/browse/CXF-8381
> Project: CXF
>  Issue Type: Bug
>Reporter: Peter De Maeyer
>Priority: Minor
>
> When I build cxf master (SHA1 ID 74ede52ee9594bad61608150d441f1d9a49701aa) 
> with Java 11, there is a warning about an illegal reflective access operation:
> {noformat}
> [ERROR] WARNING: An illegal reflective access operation has occurred
> [ERROR] WARNING: Illegal reflective access by 
> org.easymock.cglib.core.ReflectUtils$1 
> (file:/home/peter/.m2/repository/org/easymock/easymock/4.2/easymock-4.2.jar) 
> to method 
> java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
> [ERROR] WARNING: Please consider reporting this to the maintainers of 
> org.easymock.cglib.core.ReflectUtils$1
> [ERROR] WARNING: Use --illegal-access=warn to enable warnings of further 
> illegal reflective access operations
> [ERROR] WARNING: All illegal access operations will be denied in a future 
> release
> {noformat}
> This probably needs to be fixed in EasyMock, or maybe it is already fixed in 
> EasyMock and CXF just needs to bump the version of the dependency?
> Slightly off topic: I was surprised EasyMock is still alive...
> I switched from EasyMock to Mockito 10+ years ago, across different companies 
> and different projects, and never looked back.
> Could CXF consider switching to Mockito too?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (CXF-8382) Running all unit tests gets stuck for no apparent reason

2020-11-28 Thread Peter De Maeyer (Jira)


 [ 
https://issues.apache.org/jira/browse/CXF-8382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter De Maeyer updated CXF-8382:
-
Description: 
Found on current master branch, SHA1 commit ID 
{{74ede52ee9594bad61608150d441f1d9a49701aa}}, compiling against my 
SANTUARIO-555 branches of santuario and wss4j.
When running all the unit tests (admittedly, against my own santuario and wss4j 
branches), they get stuck in cxf-rt-rs-security-oauth2 for no apparent reason.
I am using OpenJDK Java 11.
The surefire plugin is waiting for a {{CountDownLatch}}, but there is no test 
running anymore.
Thread dump in attachment.

Scenario:
# {{mvn install -DskipTests}}
# {{mvn surefire:test}} {color:grey}gets stuck{color}
# {{ps -ef | grep java}} {color:grey}to identify the Java {{}}{color}
# {{kill -3 }} {color:grey}to get the thread dump{color}

{noformat}
[INFO] --< org.apache.cxf:cxf-rt-rs-security-oauth2 >--
[INFO] Building Apache CXF Runtime OAuth 2.0 3.5.0-SNAPSHOT[90/198]
[INFO] ---[ bundle ]---
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-cli) @ 
cxf-rt-rs-security-oauth2 ---
[INFO] 
[INFO] ---
[INFO]  T E S T S
[INFO] ---
2020-11-28 21:27:23
Full thread dump OpenJDK 64-Bit Server VM (11.0.9.1+1-Ubuntu-0ubuntu1.20.10 
mixed mode, sharing):
{noformat}

  was:
Current master branch: when running all the unit tests (admittedly, against my 
own santuario and wss4j branches), they get stuck in cxf-rt-rs-security-oauth2 
for no apparent reason.
I am using OpenJDK Java 11.
The surefire plugin is waiting for a {{CountDownLatch}}, but there is no test 
running anymore.
Thread dump in attachment.

Scenario:
# {{mvn install -DskipTests}}
# {{mvn surefire:test}} {color:grey}gets stuck{color}
# {{ps -ef | grep java}} {color:grey}to identify the Java {{}}{color}
# {{kill -3 }} {color:grey}to get the thread dump{color}

{noformat}
[INFO] --< org.apache.cxf:cxf-rt-rs-security-oauth2 >--
[INFO] Building Apache CXF Runtime OAuth 2.0 3.5.0-SNAPSHOT[90/198]
[INFO] ---[ bundle ]---
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-cli) @ 
cxf-rt-rs-security-oauth2 ---
[INFO] 
[INFO] ---
[INFO]  T E S T S
[INFO] ---
2020-11-28 21:27:23
Full thread dump OpenJDK 64-Bit Server VM (11.0.9.1+1-Ubuntu-0ubuntu1.20.10 
mixed mode, sharing):
{noformat}


> Running all unit tests gets stuck for no apparent reason
> 
>
> Key: CXF-8382
> URL: https://issues.apache.org/jira/browse/CXF-8382
> Project: CXF
>  Issue Type: Bug
>Reporter: Peter De Maeyer
>Priority: Minor
> Attachments: thread-dump.txt
>
>
> Found on current master branch, SHA1 commit ID 
> {{74ede52ee9594bad61608150d441f1d9a49701aa}}, compiling against my 
> SANTUARIO-555 branches of santuario and wss4j.
> When running all the unit tests (admittedly, against my own santuario and 
> wss4j branches), they get stuck in cxf-rt-rs-security-oauth2 for no apparent 
> reason.
> I am using OpenJDK Java 11.
> The surefire plugin is waiting for a {{CountDownLatch}}, but there is no test 
> running anymore.
> Thread dump in attachment.
> Scenario:
> # {{mvn install -DskipTests}}
> # {{mvn surefire:test}} {color:grey}gets stuck{color}
> # {{ps -ef | grep java}} {color:grey}to identify the Java {{}}{color}
> # {{kill -3 }} {color:grey}to get the thread dump{color}
> {noformat}
> [INFO] --< org.apache.cxf:cxf-rt-rs-security-oauth2 
> >--
> [INFO] Building Apache CXF Runtime OAuth 2.0 3.5.0-SNAPSHOT
> [90/198]
> [INFO] ---[ bundle 
> ]---
> [INFO] 
> [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-cli) @ 
> cxf-rt-rs-security-oauth2 ---
> [INFO] 
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> 2020-11-28 21:27:23
> Full thread dump OpenJDK 64-Bit Server VM (11.0.9.1+1-Ubuntu-0ubuntu1.20.10 
> mixed mode, sharing):
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (CXF-8382) Running all unit tests gets stuck for no apparent reason

2020-11-28 Thread Peter De Maeyer (Jira)


 [ 
https://issues.apache.org/jira/browse/CXF-8382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter De Maeyer updated CXF-8382:
-
Description: 
Current master branch: when running all the unit tests (admittedly, against my 
own santuario and wss4j branches), they get stuck in cxf-rt-rs-security-oauth2 
for no apparent reason.
I am using OpenJDK Java 11.
The surefire plugin is waiting for a {{CountDownLatch}}, but there is no test 
running anymore.
Thread dump in attachment.

Scenario:
# {{mvn install -DskipTests}}
# {{mvn surefire:test}} {color:grey}gets stuck{color}
# {{ps -ef | grep java}} {color:grey}to identify the Java {{}}{color}
# {{kill -3 }} {color:grey}to get the thread dump{color}

{noformat}
[INFO] --< org.apache.cxf:cxf-rt-rs-security-oauth2 >--
[INFO] Building Apache CXF Runtime OAuth 2.0 3.5.0-SNAPSHOT[90/198]
[INFO] ---[ bundle ]---
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-cli) @ 
cxf-rt-rs-security-oauth2 ---
[INFO] 
[INFO] ---
[INFO]  T E S T S
[INFO] ---
2020-11-28 21:27:23
Full thread dump OpenJDK 64-Bit Server VM (11.0.9.1+1-Ubuntu-0ubuntu1.20.10 
mixed mode, sharing):
{noformat}

  was:
Current master branch: when running all the unit tests (admittedly, against my 
own santuario and wss4j branches), they get stuck in cxf-rt-rs-security-oauth2 
for no apparent reason.
I am using Java 11.
The surefire plugin is waiting for a {{CountDownLatch}}, but there is no test 
running anymore.
Thread dump in attachment.

Scenario:
# {{mvn install -DskipTests}}
# {{mvn surefire:test}} {color:grey}gets stuck{color}
# {{ps -ef | grep java}} {color:grey}to identify the Java {{}}{color}
# {{kill -3 }} {color:grey}to get the thread dump{color}

{noformat}
[INFO] --< org.apache.cxf:cxf-rt-rs-security-oauth2 >--
[INFO] Building Apache CXF Runtime OAuth 2.0 3.5.0-SNAPSHOT[90/198]
[INFO] ---[ bundle ]---
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-cli) @ 
cxf-rt-rs-security-oauth2 ---
[INFO] 
[INFO] ---
[INFO]  T E S T S
[INFO] ---
2020-11-28 21:27:23
Full thread dump OpenJDK 64-Bit Server VM (11.0.9.1+1-Ubuntu-0ubuntu1.20.10 
mixed mode, sharing):
{noformat}


> Running all unit tests gets stuck for no apparent reason
> 
>
> Key: CXF-8382
> URL: https://issues.apache.org/jira/browse/CXF-8382
> Project: CXF
>  Issue Type: Bug
>Reporter: Peter De Maeyer
>Priority: Minor
> Attachments: thread-dump.txt
>
>
> Current master branch: when running all the unit tests (admittedly, against 
> my own santuario and wss4j branches), they get stuck in 
> cxf-rt-rs-security-oauth2 for no apparent reason.
> I am using OpenJDK Java 11.
> The surefire plugin is waiting for a {{CountDownLatch}}, but there is no test 
> running anymore.
> Thread dump in attachment.
> Scenario:
> # {{mvn install -DskipTests}}
> # {{mvn surefire:test}} {color:grey}gets stuck{color}
> # {{ps -ef | grep java}} {color:grey}to identify the Java {{}}{color}
> # {{kill -3 }} {color:grey}to get the thread dump{color}
> {noformat}
> [INFO] --< org.apache.cxf:cxf-rt-rs-security-oauth2 
> >--
> [INFO] Building Apache CXF Runtime OAuth 2.0 3.5.0-SNAPSHOT
> [90/198]
> [INFO] ---[ bundle 
> ]---
> [INFO] 
> [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-cli) @ 
> cxf-rt-rs-security-oauth2 ---
> [INFO] 
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> 2020-11-28 21:27:23
> Full thread dump OpenJDK 64-Bit Server VM (11.0.9.1+1-Ubuntu-0ubuntu1.20.10 
> mixed mode, sharing):
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (CXF-8382) Running all unit tests gets stuck for no apparent reason

2020-11-28 Thread Peter De Maeyer (Jira)


 [ 
https://issues.apache.org/jira/browse/CXF-8382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter De Maeyer updated CXF-8382:
-
Description: 
Current master branch: when running all the unit tests (admittedly, against my 
own santuario and wss4j branches), they get stuck in cxf-rt-rs-security-oauth2 
for no apparent reason.
I am using Java 11.
The surefire plugin is waiting for a {{CountDownLatch}}, but there is no test 
running anymore.
Thread dump in attachment.

Scenario:
# {{mvn install -DskipTests}}
# {{mvn surefire:test}} {color:grey}gets stuck{color}
# {{ps -ef | grep java}} {color:grey}to identify the Java {{}}{color}
# {{kill -3 }} {color:grey}to get the thread dump{color}

{noformat}
[INFO] --< org.apache.cxf:cxf-rt-rs-security-oauth2 >--
[INFO] Building Apache CXF Runtime OAuth 2.0 3.5.0-SNAPSHOT[90/198]
[INFO] ---[ bundle ]---
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-cli) @ 
cxf-rt-rs-security-oauth2 ---
[INFO] 
[INFO] ---
[INFO]  T E S T S
[INFO] ---
2020-11-28 21:27:23
Full thread dump OpenJDK 64-Bit Server VM (11.0.9.1+1-Ubuntu-0ubuntu1.20.10 
mixed mode, sharing):
{noformat}

  was:
Current master branch: when running all the unit tests (admittedly, against my 
own santuario and wss4j branches), they get stuck in cxf-rt-rs-security-oauth2 
for no apparent reason.
I am using Java 11.
The surefire plugin is waiting for a {{CountDownLatch}}, but there is no test 
running anymore.
Thread dump in attachment.

Scenario:
# {{mvn install -DskipTests}}
# {{mvn surefire:test}} gets stuck
# {{ps -ef | grep java}} to identify the Java {{}}
# {{kill -3 }} to get the thread dump

{noformat}
[INFO] --< org.apache.cxf:cxf-rt-rs-security-oauth2 >--
[INFO] Building Apache CXF Runtime OAuth 2.0 3.5.0-SNAPSHOT[90/198]
[INFO] ---[ bundle ]---
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-cli) @ 
cxf-rt-rs-security-oauth2 ---
[INFO] 
[INFO] ---
[INFO]  T E S T S
[INFO] ---
2020-11-28 21:27:23
Full thread dump OpenJDK 64-Bit Server VM (11.0.9.1+1-Ubuntu-0ubuntu1.20.10 
mixed mode, sharing):
{noformat}


> Running all unit tests gets stuck for no apparent reason
> 
>
> Key: CXF-8382
> URL: https://issues.apache.org/jira/browse/CXF-8382
> Project: CXF
>  Issue Type: Bug
>Reporter: Peter De Maeyer
>Priority: Minor
> Attachments: thread-dump.txt
>
>
> Current master branch: when running all the unit tests (admittedly, against 
> my own santuario and wss4j branches), they get stuck in 
> cxf-rt-rs-security-oauth2 for no apparent reason.
> I am using Java 11.
> The surefire plugin is waiting for a {{CountDownLatch}}, but there is no test 
> running anymore.
> Thread dump in attachment.
> Scenario:
> # {{mvn install -DskipTests}}
> # {{mvn surefire:test}} {color:grey}gets stuck{color}
> # {{ps -ef | grep java}} {color:grey}to identify the Java {{}}{color}
> # {{kill -3 }} {color:grey}to get the thread dump{color}
> {noformat}
> [INFO] --< org.apache.cxf:cxf-rt-rs-security-oauth2 
> >--
> [INFO] Building Apache CXF Runtime OAuth 2.0 3.5.0-SNAPSHOT
> [90/198]
> [INFO] ---[ bundle 
> ]---
> [INFO] 
> [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-cli) @ 
> cxf-rt-rs-security-oauth2 ---
> [INFO] 
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> 2020-11-28 21:27:23
> Full thread dump OpenJDK 64-Bit Server VM (11.0.9.1+1-Ubuntu-0ubuntu1.20.10 
> mixed mode, sharing):
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (CXF-8382) Running all unit tests gets stuck for no apparent reason

2020-11-28 Thread Peter De Maeyer (Jira)


 [ 
https://issues.apache.org/jira/browse/CXF-8382?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter De Maeyer updated CXF-8382:
-
Attachment: thread-dump.txt

> Running all unit tests gets stuck for no apparent reason
> 
>
> Key: CXF-8382
> URL: https://issues.apache.org/jira/browse/CXF-8382
> Project: CXF
>  Issue Type: Bug
>Reporter: Peter De Maeyer
>Priority: Minor
> Attachments: thread-dump.txt
>
>
> Current master branch: when running all the unit tests (admittedly, against 
> my own santuario and wss4j branches), they get stuck in 
> cxf-rt-rs-security-oauth2 for no apparent reason.
> I am using Java 11.
> The surefire plugin is waiting for a {{CountDownLatch}}, but there is no test 
> running anymore.
> Thread dump in attachment.
> Scenario:
> # {{mvn install -DskipTests}}
> # {{mvn surefire:test}} gets stuck
> # {{ps -ef | grep java}} to identify the Java {{}}
> # {{kill -3 }} to get the thread dump
> {noformat}
> [INFO] --< org.apache.cxf:cxf-rt-rs-security-oauth2 
> >--
> [INFO] Building Apache CXF Runtime OAuth 2.0 3.5.0-SNAPSHOT
> [90/198]
> [INFO] ---[ bundle 
> ]---
> [INFO] 
> [INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-cli) @ 
> cxf-rt-rs-security-oauth2 ---
> [INFO] 
> [INFO] ---
> [INFO]  T E S T S
> [INFO] ---
> 2020-11-28 21:27:23
> Full thread dump OpenJDK 64-Bit Server VM (11.0.9.1+1-Ubuntu-0ubuntu1.20.10 
> mixed mode, sharing):
> {noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (CXF-8382) Running all unit tests gets stuck for no apparent reason

2020-11-28 Thread Peter De Maeyer (Jira)
Peter De Maeyer created CXF-8382:


 Summary: Running all unit tests gets stuck for no apparent reason
 Key: CXF-8382
 URL: https://issues.apache.org/jira/browse/CXF-8382
 Project: CXF
  Issue Type: Bug
Reporter: Peter De Maeyer


Current master branch: when running all the unit tests (admittedly, against my 
own santuario and wss4j branches), they get stuck in cxf-rt-rs-security-oauth2 
for no apparent reason.
I am using Java 11.
The surefire plugin is waiting for a {{CountDownLatch}}, but there is no test 
running anymore.
Thread dump in attachment.

Scenario:
# {{mvn install -DskipTests}}
# {{mvn surefire:test}} gets stuck
# {{ps -ef | grep java}} to identify the Java {{}}
# {{kill -3 }} to get the thread dump

{noformat}
[INFO] --< org.apache.cxf:cxf-rt-rs-security-oauth2 >--
[INFO] Building Apache CXF Runtime OAuth 2.0 3.5.0-SNAPSHOT[90/198]
[INFO] ---[ bundle ]---
[INFO] 
[INFO] --- maven-surefire-plugin:3.0.0-M5:test (default-cli) @ 
cxf-rt-rs-security-oauth2 ---
[INFO] 
[INFO] ---
[INFO]  T E S T S
[INFO] ---
2020-11-28 21:27:23
Full thread dump OpenJDK 64-Bit Server VM (11.0.9.1+1-Ubuntu-0ubuntu1.20.10 
mixed mode, sharing):
{noformat}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (CXF-8381) EasyMock is causing illegal reflective access warning with Java 11

2020-11-28 Thread Peter De Maeyer (Jira)


 [ 
https://issues.apache.org/jira/browse/CXF-8381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter De Maeyer updated CXF-8381:
-
Description: 
When I build cxf master with Java 11, there is a warning about an illegal 
reflective access operation:

{noformat}
[ERROR] WARNING: An illegal reflective access operation has occurred
[ERROR] WARNING: Illegal reflective access by 
org.easymock.cglib.core.ReflectUtils$1 
(file:/home/peter/.m2/repository/org/easymock/easymock/4.2/easymock-4.2.jar) to 
method 
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
[ERROR] WARNING: Please consider reporting this to the maintainers of 
org.easymock.cglib.core.ReflectUtils$1
[ERROR] WARNING: Use --illegal-access=warn to enable warnings of further 
illegal reflective access operations
[ERROR] WARNING: All illegal access operations will be denied in a future 
release
{noformat}

This probably needs to be fixed in EasyMock, or maybe it is already fixed in 
EasyMock and CXF just needs to bump the version of the dependency?

Slightly off topic: I was surprised EasyMock is still alive...
I switched from EasyMock to Mockito 10+ years ago, across different companies 
and different projects, and never looked back.
Could CXF consider switching to Mockito?

  was:
When I build cxf master with Java 11, there is a warning about an illegal 
reflective access operation:

{noformat}
[ERROR] WARNING: An illegal reflective access operation has occurred
[ERROR] WARNING: Illegal reflective access by 
org.easymock.cglib.core.ReflectUtils$1 
(file:/home/peter/.m2/repository/org/easymock/easymock/4.2/easymock-4.2.jar) to 
method 
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
[ERROR] WARNING: Please consider reporting this to the maintainers of 
org.easymock.cglib.core.ReflectUtils$1
[ERROR] WARNING: Use --illegal-access=warn to enable warnings of further 
illegal reflective access operations
[ERROR] WARNING: All illegal access operations will be denied in a future 
release
{noformat}

This probably needs to be fixed in EasyMock, or maybe it is already fixed in 
EasyMock and CXF just needs to bump the version of the dependency?

Slightly off topic: I was surprised EasyMock is still alive...
I switched from EasyMock to Mockito 15 years ago or so, across different 
companies and different projects, and never looked back.
Could CXF consider doing the same?


> EasyMock is causing illegal reflective access warning with Java 11
> --
>
> Key: CXF-8381
> URL: https://issues.apache.org/jira/browse/CXF-8381
> Project: CXF
>  Issue Type: Bug
>Affects Versions: 3.4.1
>Reporter: Peter De Maeyer
>Priority: Minor
>
> When I build cxf master with Java 11, there is a warning about an illegal 
> reflective access operation:
> {noformat}
> [ERROR] WARNING: An illegal reflective access operation has occurred
> [ERROR] WARNING: Illegal reflective access by 
> org.easymock.cglib.core.ReflectUtils$1 
> (file:/home/peter/.m2/repository/org/easymock/easymock/4.2/easymock-4.2.jar) 
> to method 
> java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
> [ERROR] WARNING: Please consider reporting this to the maintainers of 
> org.easymock.cglib.core.ReflectUtils$1
> [ERROR] WARNING: Use --illegal-access=warn to enable warnings of further 
> illegal reflective access operations
> [ERROR] WARNING: All illegal access operations will be denied in a future 
> release
> {noformat}
> This probably needs to be fixed in EasyMock, or maybe it is already fixed in 
> EasyMock and CXF just needs to bump the version of the dependency?
> Slightly off topic: I was surprised EasyMock is still alive...
> I switched from EasyMock to Mockito 10+ years ago, across different companies 
> and different projects, and never looked back.
> Could CXF consider switching to Mockito?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Updated] (CXF-8381) EasyMock is causing illegal reflective access warning with Java 11

2020-11-28 Thread Peter De Maeyer (Jira)


 [ 
https://issues.apache.org/jira/browse/CXF-8381?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter De Maeyer updated CXF-8381:
-
Description: 
When I build cxf master with Java 11, there is a warning about an illegal 
reflective access operation:

{noformat}
[ERROR] WARNING: An illegal reflective access operation has occurred
[ERROR] WARNING: Illegal reflective access by 
org.easymock.cglib.core.ReflectUtils$1 
(file:/home/peter/.m2/repository/org/easymock/easymock/4.2/easymock-4.2.jar) to 
method 
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
[ERROR] WARNING: Please consider reporting this to the maintainers of 
org.easymock.cglib.core.ReflectUtils$1
[ERROR] WARNING: Use --illegal-access=warn to enable warnings of further 
illegal reflective access operations
[ERROR] WARNING: All illegal access operations will be denied in a future 
release
{noformat}

This probably needs to be fixed in EasyMock, or maybe it is already fixed in 
EasyMock and CXF just needs to bump the version of the dependency?

Slightly off topic: I was surprised EasyMock is still alive...
I switched from EasyMock to Mockito 10+ years ago, across different companies 
and different projects, and never looked back.
Could CXF consider switching to Mockito too?

  was:
When I build cxf master with Java 11, there is a warning about an illegal 
reflective access operation:

{noformat}
[ERROR] WARNING: An illegal reflective access operation has occurred
[ERROR] WARNING: Illegal reflective access by 
org.easymock.cglib.core.ReflectUtils$1 
(file:/home/peter/.m2/repository/org/easymock/easymock/4.2/easymock-4.2.jar) to 
method 
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
[ERROR] WARNING: Please consider reporting this to the maintainers of 
org.easymock.cglib.core.ReflectUtils$1
[ERROR] WARNING: Use --illegal-access=warn to enable warnings of further 
illegal reflective access operations
[ERROR] WARNING: All illegal access operations will be denied in a future 
release
{noformat}

This probably needs to be fixed in EasyMock, or maybe it is already fixed in 
EasyMock and CXF just needs to bump the version of the dependency?

Slightly off topic: I was surprised EasyMock is still alive...
I switched from EasyMock to Mockito 10+ years ago, across different companies 
and different projects, and never looked back.
Could CXF consider switching to Mockito?


> EasyMock is causing illegal reflective access warning with Java 11
> --
>
> Key: CXF-8381
> URL: https://issues.apache.org/jira/browse/CXF-8381
> Project: CXF
>  Issue Type: Bug
>Affects Versions: 3.4.1
>Reporter: Peter De Maeyer
>Priority: Minor
>
> When I build cxf master with Java 11, there is a warning about an illegal 
> reflective access operation:
> {noformat}
> [ERROR] WARNING: An illegal reflective access operation has occurred
> [ERROR] WARNING: Illegal reflective access by 
> org.easymock.cglib.core.ReflectUtils$1 
> (file:/home/peter/.m2/repository/org/easymock/easymock/4.2/easymock-4.2.jar) 
> to method 
> java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
> [ERROR] WARNING: Please consider reporting this to the maintainers of 
> org.easymock.cglib.core.ReflectUtils$1
> [ERROR] WARNING: Use --illegal-access=warn to enable warnings of further 
> illegal reflective access operations
> [ERROR] WARNING: All illegal access operations will be denied in a future 
> release
> {noformat}
> This probably needs to be fixed in EasyMock, or maybe it is already fixed in 
> EasyMock and CXF just needs to bump the version of the dependency?
> Slightly off topic: I was surprised EasyMock is still alive...
> I switched from EasyMock to Mockito 10+ years ago, across different companies 
> and different projects, and never looked back.
> Could CXF consider switching to Mockito too?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (CXF-8381) EasyMock is causing illegal reflective access warning with Java 11

2020-11-28 Thread Peter De Maeyer (Jira)


[ 
https://issues.apache.org/jira/browse/CXF-8381?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17240033#comment-17240033
 ] 

Peter De Maeyer commented on CXF-8381:
--

I took a quick look at the source code what it would take to migrate from 
EasyMock to Mockito... 322 occurrences.
That's a lot of work to do all at once, but maybe it can be done gradually, 
_if_ there is an agreement at least that it would be a good idea...
Since it's been over 10 years since I used EasyMock, I took a trip down memory 
lane by looking at one of the tests, and immediately I remembered why I like 
Mockito so much better:
# EasyMock has an annoying coupling of expectations (expected invocations) and 
the mocking/stubbing of behavior. Mockito decouples both, which is much more 
intuitive and elegant.
# EasyMock has this silly 'replay' that you have to call to switch your mock in 
the right state. I had almost forgotten (more like suppressed it from memory).

> EasyMock is causing illegal reflective access warning with Java 11
> --
>
> Key: CXF-8381
> URL: https://issues.apache.org/jira/browse/CXF-8381
> Project: CXF
>  Issue Type: Bug
>Affects Versions: 3.4.1
>Reporter: Peter De Maeyer
>Priority: Minor
>
> When I build cxf master with Java 11, there is a warning about an illegal 
> reflective access operation:
> {noformat}
> [ERROR] WARNING: An illegal reflective access operation has occurred
> [ERROR] WARNING: Illegal reflective access by 
> org.easymock.cglib.core.ReflectUtils$1 
> (file:/home/peter/.m2/repository/org/easymock/easymock/4.2/easymock-4.2.jar) 
> to method 
> java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
> [ERROR] WARNING: Please consider reporting this to the maintainers of 
> org.easymock.cglib.core.ReflectUtils$1
> [ERROR] WARNING: Use --illegal-access=warn to enable warnings of further 
> illegal reflective access operations
> [ERROR] WARNING: All illegal access operations will be denied in a future 
> release
> {noformat}
> This probably needs to be fixed in EasyMock, or maybe it is already fixed in 
> EasyMock and CXF just needs to bump the version of the dependency?
> Slightly off topic: I was surprised EasyMock is still alive...
> I switched from EasyMock to Mockito 15 years ago or so, across different 
> companies and different projects, and never looked back.
> Could CXF consider doing the same?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Created] (CXF-8381) EasyMock is causing illegal reflective access warning with Java 11

2020-11-28 Thread Peter De Maeyer (Jira)
Peter De Maeyer created CXF-8381:


 Summary: EasyMock is causing illegal reflective access warning 
with Java 11
 Key: CXF-8381
 URL: https://issues.apache.org/jira/browse/CXF-8381
 Project: CXF
  Issue Type: Bug
Affects Versions: 3.4.1
Reporter: Peter De Maeyer


When I build cxf master with Java 11, there is a warning about an illegal 
reflective access operation:

{noformat}
[ERROR] WARNING: An illegal reflective access operation has occurred
[ERROR] WARNING: Illegal reflective access by 
org.easymock.cglib.core.ReflectUtils$1 
(file:/home/peter/.m2/repository/org/easymock/easymock/4.2/easymock-4.2.jar) to 
method 
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
[ERROR] WARNING: Please consider reporting this to the maintainers of 
org.easymock.cglib.core.ReflectUtils$1
[ERROR] WARNING: Use --illegal-access=warn to enable warnings of further 
illegal reflective access operations
[ERROR] WARNING: All illegal access operations will be denied in a future 
release
{noformat}

This probably needs to be fixed in EasyMock, or maybe it is already fixed in 
EasyMock and CXF just needs to bump the version of the dependency?

Slightly off topic: I was surprised EasyMock is still alive...
I switched from EasyMock to Mockito 15 years ago or so, across different 
companies and different projects, and never looked back.
Could CXF consider doing the same?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)


[jira] [Commented] (CXF-6349) Introduce HTTP/2 Transport

2020-11-28 Thread Dennis Kieselhorst (Jira)


[ 
https://issues.apache.org/jira/browse/CXF-6349?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17240004#comment-17240004
 ] 

Dennis Kieselhorst commented on CXF-6349:
-

Link to the spec discussion: 
https://github.com/eclipse-ee4j/jaxrs-api/issues/923

> Introduce HTTP/2 Transport 
> ---
>
> Key: CXF-6349
> URL: https://issues.apache.org/jira/browse/CXF-6349
> Project: CXF
>  Issue Type: New Feature
>  Components: Transports
>Reporter: Sergey Beryozkin
>Assignee: Andriy Redko
>Priority: Major
>
> https://http2.github.io/
> Can be complementary to what Aki has done with WebSockets. 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)