• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

aspectran / aspectran / #5043
42%

Build:
DEFAULT BRANCH: master
Ran 14 Mar 2026 04:12PM UTC
Jobs 1
Files 927
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

14 Mar 2026 04:09PM UTC coverage: 43.92% (-0.02%) from 43.944%
#5043

push

github

topframe
Refine activity context enforcement in AbstractBeanProxy

- Enhanced 'invoke' method to intelligently check for the presence of an active activity context.
- An 'NoActivityStateException' is now thrown only when an advisable synchronous method is called without an active activity and actually has matching aspects to execute.
- Permitted invocation of '@Async' methods without a pre-existing activity context, as the proxy handles activity creation within the worker thread.
- Allowed methods with no matching aspects to proceed even if no activity context is present, improving flexibility for non-transactional beans.
- Updated 'retrieveAdviceRuleRegistry' to safely handle null activity references during pointcut matching.
- This change ensures strict AOP integrity for transactional operations while maintaining compatibility with asynchronous tasks and unadivsed methods.

7 of 20 new or added lines in 1 file covered. (35.0%)

210 existing lines in 9 files now uncovered.

16773 of 38190 relevant lines covered (43.92%)

0.44 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
13
56.41
-2.47% core/src/main/java/com/aspectran/core/component/bean/proxy/AbstractBeanProxy.java

Uncovered Existing Lines

Lines Coverage ∆ File
1
59.14
0.0% core/src/main/java/com/aspectran/core/context/env/EnvironmentProfiles.java
4
0.0
0.0% core/src/main/java/com/aspectran/core/component/bean/proxy/BeanProxyException.java
10
0.0
0.0% core/src/main/java/com/aspectran/core/component/bean/BeanInstantiationException.java
11
50.0
-36.67% core/src/main/java/com/aspectran/core/component/bean/proxy/JavassistBeanProxy.java
12
52.94
1.96% core/src/main/java/com/aspectran/core/component/bean/BeanFactoryUtils.java
19
68.4
-0.49% core/src/main/java/com/aspectran/core/component/bean/BeanRuleRegistry.java
22
81.5
-0.51% core/src/main/java/com/aspectran/core/context/rule/parsing/RuleParsingContext.java
39
68.21
-2.34% core/src/main/java/com/aspectran/core/context/rule/validation/BeanReferenceInspector.java
92
43.58
0.07% core/src/main/java/com/aspectran/core/component/bean/AnnotatedConfigParser.java
Jobs
ID Job ID Ran Files Coverage
1 #5043.1 14 Mar 2026 04:12PM UTC 927
43.92
Source Files on build #5043
  • Tree
  • List 927
  • Changed 16
  • Source Changed 16
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 6320e2f0 on github
  • Prev Build on master
  • Next Build on master
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc