|
1 | 1 | /* |
2 | | - * Copyright (c) 2016, 2020, Oracle and/or its affiliates. All rights reserved. |
| 2 | + * Copyright (c) 2016, 2023, Oracle and/or its affiliates. All rights reserved. |
3 | 3 | * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 | 4 | * |
5 | 5 | * This code is free software; you can redistribute it and/or modify it |
|
36 | 36 | import java.util.List; |
37 | 37 | import java.util.Set; |
38 | 38 |
|
39 | | -import jdk.internal.module.ModuleInfoWriter; |
40 | 39 | import jdk.internal.org.objectweb.asm.AnnotationVisitor; |
41 | 40 | import jdk.internal.org.objectweb.asm.Attribute; |
42 | 41 | import jdk.internal.org.objectweb.asm.ClassReader; |
43 | 42 | import jdk.internal.org.objectweb.asm.ClassVisitor; |
44 | 43 | import jdk.internal.org.objectweb.asm.ClassWriter; |
45 | 44 | import jdk.internal.org.objectweb.asm.Opcodes; |
46 | 45 | import jdk.internal.org.objectweb.asm.commons.ModuleTargetAttribute; |
| 46 | +import jdk.test.lib.util.ModuleInfoWriter; |
47 | 47 |
|
48 | 48 | import org.testng.annotations.Test; |
49 | 49 | import static org.testng.Assert.*; |
|
52 | 52 | * @test |
53 | 53 | * @modules java.base/jdk.internal.org.objectweb.asm |
54 | 54 | * java.base/jdk.internal.org.objectweb.asm.commons |
| 55 | + * java.base/jdk.internal.classfile |
| 56 | + * java.base/jdk.internal.classfile.attribute |
| 57 | + * java.base/jdk.internal.classfile.constantpool |
| 58 | + * java.base/jdk.internal.classfile.java.lang.constant |
55 | 59 | * java.base/jdk.internal.module |
| 60 | + * @library /test/lib |
| 61 | + * @build jdk.test.lib.util.ModuleInfoWriter |
56 | 62 | * @run testng AnnotationsTest |
57 | 63 | * @summary Basic test of annotations on modules |
58 | 64 | */ |
|
0 commit comments