Closed HosseinYousefi closed 2 weeks ago
Ok I've tried but same FormatException error! Sorry, My guess is wrong.
I don't know what wrong with my machine >.<
this is output using -o option.
https://github.com/dart-lang/native/issues/877#issuecomment-1912407026
Oh, this screenshot says Unhandled exception. So the problem lies elsewhere?
This collectOutputStream method might throw FormatException?
ApiSummarizer.jar's stderr's encoding is not in UTF-8?
ApiSummarizer.jar's stderr's encoding is not in UTF-8?
I changed that now as well. Probably easier to revert these changes and instead use a jvm flag when compiling using mvn. -Dfile.encoding=UTF-8
to apply universally.
Java 18 and onwards will not have this problem btw as it is going to be UTF-8 by default! https://openjdk.org/jeps/400 – well, maybe not for console I/O but at least for other things!
Closing this in favor of https://github.com/dart-lang/native/pull/1141
Closes #1118
@glanium Please check if this works for you.
Use this dev dependency to test: