3 ms·
But Java has interfaces for interacting with the host OS, for example you can create a file by writing `new File("myfile").createNewFile()` which makes a Linux
by bosswipe 6y ago
But Java has interfaces for interacting with the host OS, for example you can create a file by writing `new File("myfile").createNewFile()` which makes a Linux call under the hood. Android 11 breaks that File API.
- pjmlp 6y agoThe same API on Windows does a Windows call under the hood, on IBM I does a TIMI call under the hood and on PTC bare metal it does the work itself. Android ported to any of those platforms would still make use of File("myfile").createNewFile() with zero dependencies on a Linux implementation. No it doesn't, the API call is still valid in Android 11, as long as the filesystem reserved for the application is used. Even so, it has to do with the Java implementation.