=Context-Awareness=
{{Mark|Updated with Version 7.8}}: {{Code|context}} variable has been split into {{Code|queryContext}} and {{Code|staticContext}}.
Java classes can be coupled more closely to the BaseX core library.
=Locking=
{{Mark|Introduced with Version 7.8:}}
By default, a Java function will be executed in parallel with other code. However, if a Java function performs sensitive write operations, it is advisable to explicitly lock the code. This can be realized via locking annotations: