You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A scan for usage of classes deprecated for removal in the current codebase shows by the jdeprscan tool shows:
starksm@Scotts-Mac-Studio sms-arq-core % bash depscan.sh
Jar file ./core/impl-base/target/arquillian-core-impl-base-1.9.2.Final-SNAPSHOT.jar:
class org/jboss/arquillian/core/impl/loadable/SecurityActions uses deprecated class java/security/AccessController (forRemoval=true)
class org/jboss/arquillian/core/impl/SecurityActions uses deprecated class java/security/AccessController (forRemoval=true)
...
Jar file ./core/spi/target/arquillian-core-spi-1.9.2.Final-SNAPSHOT.jar:
class org/jboss/arquillian/core/spi/SecurityActions uses deprecated class java/security/AccessController (forRemoval=true)
...
Jar file ./test/impl-base/target/arquillian-test-impl-base-1.9.2.Final-SNAPSHOT.jar:
class org/jboss/arquillian/test/impl/enricher/resource/SecurityActions uses deprecated class java/security/AccessController (forRemoval=true)
...
Jar file ./junit/core/target/arquillian-junit-core-1.9.2.Final-SNAPSHOT.jar:
class org/jboss/arquillian/junit/State$1 uses deprecated method java/lang/Integer::<init>(I)V (forRemoval=true)
class org/jboss/arquillian/junit/SecurityActions uses deprecated class java/security/AccessController (forRemoval=true)
...
Jar file ./container/impl-base/target/arquillian-container-impl-base-1.9.2.Final-SNAPSHOT.jar:
class org/jboss/arquillian/container/impl/SecurityActions uses deprecated class java/security/AccessController (forRemoval=true)
class org/jboss/arquillian/container/impl/client/container/SecurityActions uses deprecated class java/security/AccessController (forRemoval=true)
class org/jboss/arquillian/container/impl/client/deployment/SecurityActions uses deprecated class java/security/AccessController (forRemoval=true)
...
class org/jboss/arquillian/container/test/spi/util/SecurityActions uses deprecated class java/security/AccessController (forRemoval=true)
Jar file ./container/spi/target/arquillian-container-spi-1.9.2.Final-SNAPSHOT.jar:
class org/jboss/arquillian/container/spi/client/deployment/DeploymentScenario$2 uses deprecated method java/lang/Integer::<init>(I)V (forRemoval=true)
class org/jboss/arquillian/container/spi/client/deployment/DeploymentScenario$3 uses deprecated method java/lang/Integer::<init>(I)V (forRemoval=true)
class org/jboss/arquillian/container/spi/client/deployment/DeploymentScenario$1 uses deprecated method java/lang/Integer::<init>(I)V (forRemoval=true)
...
Jar file ./container/test-impl-base/target/arquillian-container-test-impl-base-1.9.2.Final-SNAPSHOT.jar:
class org/jboss/arquillian/container/test/impl/SecurityActions uses deprecated class java/security/AccessController (forRemoval=true)
class org/jboss/arquillian/container/test/impl/client/deployment/ContainerDeployer uses deprecated class java/security/AccessController (forRemoval=true)
class org/jboss/arquillian/container/test/impl/client/deployment/AbstractDeploymentScenarioGenerator$1 uses deprecated method java/lang/Integer::<init>(I)V (forRemoval=true)
...
Jar file ./testenrichers/cdi/target/arquillian-testenricher-cdi-1.9.2.Final-SNAPSHOT.jar:
class org/jboss/arquillian/testenricher/cdi/SecurityActions uses deprecated class java/security/AccessController (forRemoval=true)
...
Jar file ./testenrichers/resource/target/arquillian-testenricher-resource-1.9.2.Final-SNAPSHOT.jar:
class org/jboss/arquillian/testenricher/resource/SecurityActions uses deprecated class java/security/AccessController (forRemoval=true)
Jar file ./testenrichers/ejb/target/arquillian-testenricher-ejb-1.9.2.Final-SNAPSHOT.jar:
class org/jboss/arquillian/testenricher/ejb/SecurityActions uses deprecated class java/security/AccessController (forRemoval=true)
...
Jar file ./protocols/servlet/target/arquillian-protocol-servlet-1.9.2.Final-SNAPSHOT.jar:
class org/jboss/arquillian/protocol/servlet/runner/SecurityActions uses deprecated class java/security/AccessController (forRemoval=true)
...
Jar file ./protocols/jmx/target/arquillian-protocol-jmx-1.9.2.Final-SNAPSHOT.jar:
class org/jboss/arquillian/protocol/jmx/JMXTestRunner uses deprecated class java/security/AccessController (forRemoval=true)
It looks like a good chunk of these are security manager related. IMO we shouldn't pull those out yet as I know for WildFly at least we still need security manager support.
I will say it could make sense to move them all into a SecurityActions type of class, like some already are, so when the day comes the API's are actually removed, we could have an Muli-Release JAR where they are no-ops for that version and higher.
We could probably solve the other deprecation's fairly easily.
A scan for usage of classes deprecated for removal in the current codebase shows by the jdeprscan tool shows:
The depscan.sh script was:
The summary only shows the jars that had deprecated uses.
The text was updated successfully, but these errors were encountered: