Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Virtual File System on FileOutpuStrem not work #756

Open
marcom1981 opened this issue Aug 9, 2022 · 0 comments
Open

Virtual File System on FileOutpuStrem not work #756

marcom1981 opened this issue Aug 9, 2022 · 0 comments

Comments

@marcom1981
Copy link

marcom1981 commented Aug 9, 2022

I'm try to create file with simple FileOutpuStrem for temporary file.

The project compile but have a error in cosole:

File file = new File("prova.txt");
file.createNewFile();

FileOutputStream os = new FileOutputStream(file);
os.write("ciao".getBytes());
os.close();

This is the output console:


TFileOutputStream.java:69 Uncaught TypeError: bytecoder.imports.fileoutputstream.open0StringBOOLEAN is not a function
    at C.s3244 (TFileOutputStream.java:69:1)
    at p.s3243 (TFileOutputStream.java:68:1)
    at p.$95s3241 (TFileOutputStream.java:55:1)
    at p.$95s3231 (TFileOutputStream.java:44:1)
    at C.s4.s1785 (TFileInputStream.java:109:1)
    at C.s1775 [as main] (SimpleMain.java:33:1)
    at indexJs.html?_ijt=jeudemutt0ceprtd1aentq2fc1:13:23

This Featere is useful for port code who write temporary file.

File.createTempFile() also non work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant