Home
last modified time | relevance | path

Searched refs:specVersion (Results 1 – 5 of 5) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/
DPackageTest.java152 String specVersion = "specification version"; in testGetSpecificationVersion() local
157 specVersion, in testGetSpecificationVersion()
164 assertEquals(specVersion, aPackage.getSpecificationVersion()); in testGetSpecificationVersion()
168 String specVersion = "2.3.1"; in testIsCompatibleWith() local
173 specVersion, in testIsCompatibleWith()
180 assertTrue(aPackage.isCompatibleWith(specVersion)); in testIsCompatibleWith()
202 public Package definePackage(String name, String specTitle, String specVersion, in definePackage() argument
205 return super.definePackage(name, specTitle, specVersion, specVendor, implTitle, in definePackage()
/libcore/ojluni/src/main/java/java/lang/
DPackage.java144 return specVersion; in getSpecificationVersion()
232 if (specVersion == null || specVersion.length() < 1) { in isCompatibleWith()
236 String [] sa = specVersion.split("\\.", -1); in isCompatibleWith()
373 String ver = specVersion; in toString()
478 specVersion = specversion; in Package()
495 String specVersion= null; in Package() local
504 specVersion = attr.getValue(Name.SPECIFICATION_VERSION); in Package()
516 if (specVersion == null) { in Package()
517 specVersion = attr.getValue(Name.SPECIFICATION_VERSION); in Package()
540 this.specVersion = specVersion; in Package()
[all …]
DClassLoader.java1157 String specVersion, String specVendor, in definePackage() argument
1167 pkg = new Package(name, specTitle, specVersion, specVendor, in definePackage()
/libcore/ojluni/src/main/java/java/net/
DURLClassLoader.java492 String specTitle = null, specVersion = null, specVendor = null; in definePackage() local
500 specVersion = attr.getValue(Name.SPECIFICATION_VERSION); in definePackage()
512 if (specVersion == null) { in definePackage()
513 specVersion = attr.getValue(Name.SPECIFICATION_VERSION); in definePackage()
534 return definePackage(name, specTitle, specVersion, specVendor, in definePackage()
/libcore/ojluni/annotations/hiddenapi/java/lang/
DClassLoader.java182 java.lang.String specVersion, in definePackage() argument