Regenerate mockJDK using openJDK 7
This commit is contained in:
+3
-3
@@ -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
@@ -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 {
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user