/openjdk9/jdk/src/java.base/share/classes/java/lang/module/ |
H A D | ResolvedModule.java | 45 private final Configuration cf; field in class:ResolvedModule 48 ResolvedModule(Configuration cf, ModuleReference mref) { argument 49 this.cf = Objects.requireNonNull(cf); 59 return cf; 106 return cf.reads(this); 120 return cf.hashCode() ^ mref.hashCode(); 146 return Objects.equals(this.cf, that.cf) 157 return System.identityHashCode(cf) [all...] |
/openjdk9/langtools/test/tools/javac/lambdaShapes/org/openjdk/tests/separate/ |
H A D | ClassToInterfaceConverter.java | 53 private void convertToInterface(ClassFile cf) { argument 54 cf.access_flags = 0x0601; // ACC_INTERFACE | ACC_ABSTRACT | ACC_PUBLIC 57 for (int i = 0; i < cf.methods.size(); ++i) { 58 ClassFile.Method method = cf.methods.get(i); 59 ClassFile.CpEntry name = cf.constant_pool.get(method.name_index); 64 cf.methods = new_methods; 68 ClassFile cf = new ClassFile(bytes); 70 ClassFile.CpEntry entry = cf.constant_pool.get(cf.this_class); 71 ClassFile.CpEntry name = cf [all...] |
/openjdk9/jdk/test/jdk/lambda/separate/ |
H A D | ClassToInterfaceConverter.java | 53 private void convertToInterface(ClassFile cf) { argument 54 cf.access_flags = 0x0601; // ACC_INTERFACE | ACC_ABSTRACT | ACC_PUBLIC 57 for (int i = 0; i < cf.methods.size(); ++i) { 58 ClassFile.Method method = cf.methods.get(i); 59 ClassFile.CpEntry name = cf.constant_pool.get(method.name_index); 64 cf.methods = new_methods; 68 for (int i = 0; i < cf.constant_pool.size(); i++) { 69 ClassFile.CpEntry ce = cf.constant_pool.get(i); 72 ClassFile.CpNameAndType nameType = (ClassFile.CpNameAndType)cf.constant_pool.get(me.name_and_type_index); 73 ClassFile.CpEntry name = cf [all...] |
/openjdk9/jdk/test/javax/crypto/JceSecurity/ |
H A D | MyCertificateFactory.java | 39 CertificateFactory cf; field in class:MyCertificateFactory 43 cf = CertificateFactory.getInstance("X.509", "SUN"); 53 Certificate cert = cf.generateCertificate(inStream); 62 return cf.generateCertPath(inStream); 68 return cf.generateCertPath(inStream, encoding); 74 return cf.generateCertPath(certificates); 78 return cf.getCertPathEncodings(); 84 return cf.generateCertificates(inStream); 89 return cf.generateCRL(inStream); 94 return cf [all...] |
/openjdk9/langtools/test/tools/javac/annotations/typeAnnotations/classfile/ |
H A D | NewTypeArguments.java | 46 ClassFile cf = getClassFile("NewTypeArguments$Test.class"); 47 test(cf); 48 for (Field f : cf.fields) { 49 test(cf, f); 51 for (Method m: cf.methods) { 52 test(cf, m, true);
|
H A D | InstanceInitializer.java | 45 ClassFile cf = getClassFile("InstanceInitializer$Test.class"); 46 test(cf); 47 for (Field f : cf.fields) { 48 test(cf, f); 50 for (Method m: cf.methods) { 51 test(cf, m, true);
|
H A D | StaticInitializer.java | 45 ClassFile cf = getClassFile("StaticInitializer$Test.class"); 46 test(cf); 47 for (Field f : cf.fields) { 48 test(cf, f); 50 for (Method m: cf.methods) { 51 test(cf, m, true);
|
H A D | Wildcards.java | 46 ClassFile cf = getClassFile("Wildcards$Test.class"); 47 test(cf); 48 for (Field f : cf.fields) { 49 test(cf, f); 51 for (Method m: cf.methods) { 52 test(cf, m,false);
|
H A D | ClassfileTestHelper.java | 79 void test(ClassFile cf) { argument 80 test("CLASS",cf, null, null, Attribute.RuntimeVisibleTypeAnnotations, true); 81 test("CLASS",cf, null, null, Attribute.RuntimeInvisibleTypeAnnotations, false); 83 test("CLASS",cf, null, null, Attribute.RuntimeVisibleAnnotations, true); 84 test("CLASS",cf, null, null, Attribute.RuntimeInvisibleAnnotations, false); 87 void test(ClassFile cf, Field f, Boolean local) { argument 89 test("FIELD",cf, f, null, Attribute.RuntimeVisibleTypeAnnotations, true); 90 test("FIELD",cf, f, null, Attribute.RuntimeInvisibleTypeAnnotations, false); 91 test("FIELD",cf, f, null, Attribute.RuntimeVisibleAnnotations, true); 92 test("FIELD",cf, 101 test(ClassFile cf, Field f) argument 106 test(ClassFile cf, Method m, Boolean local) argument 121 test(ClassFile cf, Method m ) argument 127 test(String ttype, ClassFile cf, Field f, Method m, String annName, boolean visible) argument [all...] |
H A D | NoTargetAnnotations.java | 45 ClassFile cf = getClassFile("NoTargetAnnotations$Test.class"); 46 for (Field f : cf.fields) { 47 test(cf, f); 48 testDeclaration(cf, f); 50 for (Method m: cf.methods) { 51 test(cf, m); 52 testDeclaration(cf, m); 73 void test(ClassFile cf, Method m) { argument 74 test(cf, m, Attribute.RuntimeVisibleTypeAnnotations, true); 75 test(cf, 78 test(ClassFile cf, Field m) argument 83 testDeclaration(ClassFile cf, Method m) argument 88 testDeclaration(ClassFile cf, Field m) argument 95 test(ClassFile cf, Method m, String name, boolean visible) argument 111 test(ClassFile cf, Field m, String name, boolean visible) argument 127 testDecl(ClassFile cf, Method m, String name, boolean visible) argument 139 testDecl(ClassFile cf, Field m, String name, boolean visible) argument [all...] |
H A D | DeadCode.java | 47 ClassFile cf = getClassFile("DeadCode$Test.class"); 48 test(cf); 49 for (Field f : cf.fields) { 50 test(cf, f); 52 for (Method m: cf.methods) { 53 test(cf, m, true);
|
H A D | TypeCasts.java | 48 ClassFile cf = getClassFile("TypeCasts$Test.class"); 49 test(cf); 50 for (Field f : cf.fields) { 51 test(cf, f); 53 for (Method m: cf.methods) { 54 test(cf, m, true);
|
H A D | T8008762.java | 46 ClassFile cf = getClassFile("T8008762$Test$1$InnerAnon.class"); 47 test(cf); 48 for (Field f : cf.fields) { 49 test(cf, f, false); 51 for (Method m : cf.methods) { 52 test(cf, m, false);
|
/openjdk9/nashorn/test/script/basic/ |
H A D | JDK-8068901.js | 41 var cf = new (Java.extend(Consumer, JFunction))({ 42 apply: function(x) { print("cf invoked as a function") }, 43 accept: function(x) { print("cf invoked as a consumer") } 48 for each(x in [fc, c, fc, cf, f, cf, c, fc, f, cf]) { x(null); }
|
/openjdk9/langtools/test/tools/javap/typeAnnotations/ |
H A D | Wildcards.java | 42 ClassFile cf = ClassFile.read(classFile); 43 test(cf); 44 for (Field f : cf.fields) { 45 test(cf, f); 47 for (Method m: cf.methods) { 48 test(cf, m); 58 void test(ClassFile cf) { argument 59 test(cf, Attribute.RuntimeVisibleTypeAnnotations, true); 60 test(cf, Attribute.RuntimeInvisibleTypeAnnotations, false); 63 void test(ClassFile cf, Metho argument 68 test(ClassFile cf, Field m) argument 75 test(ClassFile cf, String name, boolean visible) argument 91 test(ClassFile cf, Method m, String name, boolean visible) argument 107 test(ClassFile cf, Field m, String name, boolean visible) argument [all...] |
H A D | Presence.java | 45 ClassFile cf = ClassFile.read(classFile); 46 test(cf); 47 for (Field f : cf.fields) { 48 test(cf, f); 50 for (Method m: cf.methods) { 51 test(cf, m); 61 void test(ClassFile cf) { argument 62 test(cf, Attribute.RuntimeVisibleTypeAnnotations, true); 63 test(cf, Attribute.RuntimeInvisibleTypeAnnotations, false); 66 void test(ClassFile cf, Metho argument 71 test(ClassFile cf, Field m) argument 78 test(ClassFile cf, String name, boolean visible) argument 94 test(ClassFile cf, Method m, String name, boolean visible) argument 133 test(ClassFile cf, Field m, String name, boolean visible) argument [all...] |
H A D | PresenceInner.java | 43 ClassFile cf = ClassFile.read(classFile); 44 test(cf); 45 for (Field f : cf.fields) { 46 test(cf, f); 48 for (Method m: cf.methods) { 49 test(cf, m); 60 test(cf, f); 63 test(cf, m); 72 void test(ClassFile cf) { argument 73 test(cf, Attribut 77 test(ClassFile cf, Method m) argument 82 test(ClassFile cf, Field m) argument 89 test(ClassFile cf, String name, boolean visible) argument 105 test(ClassFile cf, Method m, String name, boolean visible) argument 121 test(ClassFile cf, Field m, String name, boolean visible) argument [all...] |
/openjdk9/langtools/test/tools/javac/classfiles/attributes/deprecated/ |
H A D | DeprecatedTest.java | 247 ClassFile cf = readClassFile(classes.get(outerClassName)); 249 cf.getAttribute(Attribute.Deprecated); 250 testAttribute(outerClassName, attr, cf); 251 testInnerClasses(cf, classes); 252 testMethods(cf); 253 testFields(cf); 259 private void testInnerClasses(ClassFile cf, Map<String, ? extends JavaFileObject> classes) argument 262 cf.getAttribute(Attribute.InnerClasses); 264 String innerClassName = cf.constant_pool. 270 String innerClassSimpleName = innerClass.getInnerName(cf 279 testMethods(ClassFile cf) argument 290 testFields(ClassFile cf) argument 300 testAttribute(String name, Deprecated_attribute attr, ClassFile cf) argument 309 testDeprecatedAttribute(String name, Deprecated_attribute attr, ClassFile cf) argument [all...] |
/openjdk9/jdk/test/sun/security/util/Pem/ |
H A D | PemEncoding.java | 30 CertificateFactory cf = CertificateFactory.getInstance("X.509"); 31 System.out.println(cf.generateCertificate(fis));
|
/openjdk9/langtools/src/jdk.jdeps/share/classes/com/sun/tools/jdeprscan/scan/ |
H A D | Scan.java | 167 String typeKind(ClassFile cf) { argument 168 AccessFlags flags = cf.access_flags; 184 void printType(String key, ClassFile cf, String cname, boolean r) argument 186 out.println(Messages.get(key, typeKind(cf), cf.getName(), cname, dep(r))); 189 void printMethod(String key, ClassFile cf, String cname, String mname, String rtype, argument 191 out.println(Messages.get(key, typeKind(cf), cf.getName(), cname, mname, rtype, dep(r))); 194 void printField(String key, ClassFile cf, String cname, String fname, argument 196 out.println(Messages.get(key, typeKind(cf), c 199 printFieldType(String key, ClassFile cf, String cname, String fname, String type, boolean r) argument 204 printHasField(ClassFile cf, String fname, String type, boolean r) argument 209 printHasMethodParmType(ClassFile cf, String mname, String parmType, boolean r) argument 214 printHasMethodRetType(ClassFile cf, String mname, String retType, boolean r) argument 219 printHasOverriddenMethod(ClassFile cf, String overridden, String mname, String desc, boolean r) argument 294 addInterfaces(Deque<String> intfs, ClassFile cf) argument 320 resolveMember( ClassFile cf, String startClassName, String findName, String findDesc, boolean resolveMethod, boolean checkStartClass) argument 405 checkSuper(ClassFile cf) argument 419 checkInterfaces(ClassFile cf) argument 437 checkClasses(ClassFile cf, CPEntries entries) argument 458 checkMethodRef(ClassFile cf, String clname, CONSTANT_NameAndType_info nti, String msgKey) argument 480 checkFieldRef(ClassFile cf, ConstantPool.CONSTANT_Fieldref_info fri) argument 502 checkFields(ClassFile cf) argument 520 checkMethods(ClassFile cf) argument 562 processClass(ClassFile cf) argument [all...] |
/openjdk9/jdk/test/java/security/cert/CertPathValidator/indirectCRL/ |
H A D | CircularCRLTwoLevel.java | 155 CertificateFactory cf = CertificateFactory.getInstance("X.509"); 160 Certificate targetCert = cf.generateCertificate(is); 163 Certificate subCaCert = cf.generateCertificate(is); 166 Certificate selfSignedCert = cf.generateCertificate(is); 172 return cf.generateCertPath(list); 178 CertificateFactory cf = CertificateFactory.getInstance("X.509"); 182 Certificate selfSignedCert = cf.generateCertificate(is); 195 CertificateFactory cf = CertificateFactory.getInstance("X.509"); 199 Collection mixes = cf.generateCRLs(is); 203 mixes = cf [all...] |
H A D | CircularCRLTwoLevelRevoked.java | 156 CertificateFactory cf = CertificateFactory.getInstance("X.509"); 161 Certificate targetCert = cf.generateCertificate(is); 164 Certificate subCaCert = cf.generateCertificate(is); 167 Certificate selfSignedCert = cf.generateCertificate(is); 173 return cf.generateCertPath(list); 179 CertificateFactory cf = CertificateFactory.getInstance("X.509"); 183 Certificate selfSignedCert = cf.generateCertificate(is); 196 CertificateFactory cf = CertificateFactory.getInstance("X.509"); 200 Collection mixes = cf.generateCRLs(is); 204 mixes = cf [all...] |
/openjdk9/langtools/test/tools/javac/defaultMethods/ |
H A D | BadClassfile.java | 62 ClassFile cf = ClassFile.read(classfile); 64 cf = new ClassFile(cf.magic, Target.JDK1_7.minorVersion, 65 Target.JDK1_7.majorVersion, cf.constant_pool, cf.access_flags, 66 cf.this_class, cf.super_class, cf.interfaces, cf.fields, 67 cf [all...] |
/openjdk9/jdk/test/sun/security/x509/X509CRLImpl/ |
H A D | UnexpectedNPE.java | 34 CertificateFactory cf = null ; field in class:UnexpectedNPE 59 if (cf == null) { 61 cf = CertificateFactory.getInstance("X.509", "SUN"); 69 cf.generateCRL(new ByteArrayInputStream(buf));
|
/openjdk9/jdk/test/sun/security/x509/GeneralName/ |
H A D | X400Address.java | 73 CertificateFactory cf = CertificateFactory.getInstance("X.509"); 75 X509Certificate cert = (X509Certificate) cf.generateCertificate(is);
|