This commit pulls in a minimal set if java.io.* classes from the android source. It also pulls in the required implementation files. Strategic commenting out and import replacements ensures that this compiles.
The java.io.* package and the associated libcore.io.* classes do much more than pure file i/o (e.g., sockets, pipes). I commented out much of that which we don't need (marked with the "needed?" TODO). If we decide we don't need much of that, we can delete it. Additionally, we can also probably delete the many stub Struct* classes
I also commented out some bits that we need to decide if we want to implement (marked with the "implement" TODO).
Finally, if we decide we don't want the BlockGuardOs functionality (see Libcore.java) we can get rif of the Os->SqlFsPosix abstraction later.
This commit pulls in a minimal set if java.io.* classes from the android source. It also pulls in the required implementation files. Strategic commenting out and import replacements ensures that this compiles.
The java.io.* package and the associated libcore.io.* classes do much more than pure file i/o (e.g., sockets, pipes). I commented out much of that which we don't need (marked with the "needed?" TODO). If we decide we don't need much of that, we can delete it. Additionally, we can also probably delete the many stub Struct* classes
I also commented out some bits that we need to decide if we want to implement (marked with the "implement" TODO).
Finally, if we decide we don't want the
BlockGuardOs
functionality (see Libcore.java) we can get rif of the Os->SqlFsPosix abstraction later.minimal set from java.io.*:
Implementation helpers: