Fields in object is now static in 2.13

Hi.
We use Spring a lot using the @javax.annotation.Resource annotation for injecting stuff. It works well but we see new behaviour using the annotation to inject stuff into object in 2.13:

import javax.annotation.Resource
import org.springframework.beans.factory.annotation.Configurable

@Configurable
object MyObject {
	@Resource
	val myService: MyService = null
}

This works fine in Scala-2.12, but in 2.13 it fails at runtime with:
Caused by: java.lang.IllegalStateException: @Resource annotation is not supported on static fields

Any ideas for a clean solution to this?

Forgot to say; We use AspectJ to weave these non-Spring managed objects, with config like this (aop.xml):

<aspectj>
    <weaver options="-verbose -showWeaveInfo">
        <!--
        Only weave @Configurable stuff
        -->
        <include within="@org.springframework.beans.factory.annotation.Configurable com.visena..*"/>
	</weaver>
</aspectj>

looks like a consequence of https://github.com/scala/scala/pull/7270

In case anyone gooles this, this is a work-around:

@Configurable
object MyObject {
	@(Resource @setter)
	private var myService: MyService = _
}

Anyone else got a better idea?