package foo.bar

import jdk.jfr.Enabled

@Enabled
@Deprecated
final class Annotations {
}

package foo.bar

class Enabled extends annotation.Annotation

@Enabled
@Deprecated
final class Annotations {
}

Fix test to work on Java 8.
Fix test to work on Java 8.
