Regenerate mockJDK using openJDK 7

This commit is contained in:
Denis Zharkov
2017-06-23 15:12:55 +03:00
parent 3158c71c29
commit bc564af2fc
68 changed files with 716 additions and 694 deletions
+3 -3
View File
@@ -1,5 +1,5 @@
// ERROR: Type inference failed: Not enough information to infer parameter K in constructor HashMap<K : Any!, V : Any!>(p0: Int) Please specify it explicitly.
// ERROR: Type inference failed: Not enough information to infer parameter K in constructor HashMap<K : Any!, V : Any!>(p0: Int) Please specify it explicitly.
// ERROR: Type inference failed: Not enough information to infer parameter K in constructor HashMap<K : Any!, V : Any!>(initialCapacity: Int) Please specify it explicitly.
// ERROR: Type inference failed: Not enough information to infer parameter K in constructor HashMap<K : Any!, V : Any!>(initialCapacity: Int) Please specify it explicitly.
package demo
import java.util.HashMap
@@ -17,4 +17,4 @@ internal class User {
val t1 = Test()
val t2 = Test("")
}
}
}
+2 -2
View File
@@ -1,4 +1,4 @@
// ERROR: None of the following functions can be called with the arguments supplied: public constructor FileInputStream(p0: File!) defined in java.io.FileInputStream public constructor FileInputStream(p0: FileDescriptor!) defined in java.io.FileInputStream public constructor FileInputStream(p0: String!) defined in java.io.FileInputStream
// ERROR: None of the following functions can be called with the arguments supplied: public constructor FileInputStream(file: File!) defined in java.io.FileInputStream public constructor FileInputStream(fdObj: FileDescriptor!) defined in java.io.FileInputStream public constructor FileInputStream(name: String!) defined in java.io.FileInputStream
// ERROR: Type mismatch: inferred type is DataInputStream but InputStream! was expected
// ERROR: Assignments are not expressions, and only expressions are allowed in this context
// ERROR: Unresolved reference: close
@@ -20,4 +20,4 @@ internal object FileRead {
}
}
}
}