From 4fa6dd2d51443e73475f0a6ce38530f23e4130bc Mon Sep 17 00:00:00 2001 From: Thomas Andraschko Date: Mon, 10 Jun 2019 12:12:58 +0200 Subject: [PATCH] #2721 - Implement BeanManger#isPassivatingScope --- .../runtime/src/main/java/io/quarkus/arc/BeanManagerImpl.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/independent-projects/arc/runtime/src/main/java/io/quarkus/arc/BeanManagerImpl.java b/independent-projects/arc/runtime/src/main/java/io/quarkus/arc/BeanManagerImpl.java index fdd9cc0036865..7fe2c8563166a 100644 --- a/independent-projects/arc/runtime/src/main/java/io/quarkus/arc/BeanManagerImpl.java +++ b/independent-projects/arc/runtime/src/main/java/io/quarkus/arc/BeanManagerImpl.java @@ -162,7 +162,8 @@ public boolean isNormalScope(Class annotationType) { @Override public boolean isPassivatingScope(Class annotationType) { - throw new UnsupportedOperationException(); + // return false instead of a UnsupportedOperationException, so libs like DeltaSpike can handle it "nicer" + return false; } @Override