Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class TestCDI extends CDI<Object> {
* value directly in a subclass. However, it was probably not intended for the subclass to be able to do this.
*/
public static void unsetCDIProvider() {
configuredProvider = null;
providerState.set(initialState());
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public class TestCDI extends CDI<Object> {
* value directly in a subclass. However, it was probably not intended for the subclass to be able to do this.
*/
public static void unsetCDIProvider() {
configuredProvider = null;
providerState.set(initialState());
}

@Override
Expand Down
7 changes: 7 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,13 @@
<dependencyManagement>

<dependencies>
<!-- TODO remove once Weld API updates CDI API dependency -->
<dependency>
<groupId>jakarta.cdi</groupId>
<artifactId>jakarta.cdi-api</artifactId>
<version>5.0.0.Beta2-SNAPSHOT</version>
</dependency>

<!--Optional BCEL classes dependency-->
<dependency>
<groupId>org.apache.bcel</groupId>
Expand Down
Loading