You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Mike Hummel (Jira)" <ji...@apache.org> on 2020/03/14 08:02:00 UTC
[jira] [Created] (KARAF-6645) Using Session.IGNORE_INTERRUPTS has
no effect
Mike Hummel created KARAF-6645:
----------------------------------
Summary: Using Session.IGNORE_INTERRUPTS has no effect
Key: KARAF-6645
URL: https://issues.apache.org/jira/browse/KARAF-6645
Project: Karaf
Issue Type: Bug
Components: karaf
Affects Versions: 4.2.8, 4.3.0
Reporter: Mike Hummel
Using the parameter has no effect. There is no finding in source code using the const to implement some kind of functionality. This means usage of
Object oldIgnoreInterrupts = session.get(Session.IGNORE_INTERRUPTS);
*try* {
session.put(Session.IGNORE_INTERRUPTS, Boolean.TRUE);
...
} *finally* {
session.put(Session.IGNORE_INTERRUPTS, oldIgnoreInterrupts);
}
Has no effect.
Moreover: The const is defined two times. 1) Session, 2) SessionProperties (not a big thing, but one should be enough) What is the correct location for the const? I suspect it's SessionParameters.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)