You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is perhaps the largest release since this project was created over 10 years ago in October 2013. A lot of dust has been brushed off, a whole bunch of new platforms are now supported, several newer Java language features have been added, a new integration test runner helps protect against regressions, and dark mode is here!
I'll be figuring out a better binary publishing strategy in the near future, but for now your best bet is to pull and build from source.
The v3.0.0 release includes:
Cross-platform GUI support via Avalonia! This means you can now run the GUI utility on macOS and Linux, in addition to Windows. The GUI is a helpful tool for confirming the conversion and giving a convenient button to copy the output to your clipboard. It previously was written in WPF, so Avalonia was a natural fit. Additionally, this enabled...
Dark mode support! You can now toggle between light and dark mode in the UI.
The app now runs on .NET 6 LTS. This will be upgraded to .NET 8 LTS in the near future.
IKVM has been upgraded to 8.7, which enables support for new platforms like arm64
Because of the .NET 6, Avalonia, and IKVM 8.7 support above, we should now support the following platforms for both the GUI and CLI:
Windows x64 and arm64
macOS x64 and arm64
Linux x64 and arm64
JavaParser has been upgraded to add support for multiple new Java language features. Additionally, the .jar is now handled by IKVM at build time instead of being included as a .dll.
Enabled by the JavaParser upgrade, the following Java features are now supported for translation (and are covered by integration tests):
GitHub Actions now automatically builds the app and runs unit tests for all PRs and commits to master
A new integration test runner converts test resource Java files to C#, compiles them, and asserts the output matches what is expected. These are automatically run as part of the GitHub Actions pipeline as well. Please try to add a test when adding a Java feature or fixing a bug!
Converting the unsigned right shift (>>>) binary operator is now supported.
The CLI now uses System.CommandLine for better argument handling, and most converter options are now available as command-line flags (Support all options in the CLI app #58)
The CLI now uses Microsoft.Extensions.Logging instead of Console.WriteLine.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
🎉 The 3.0 release of Java to C# is here! 🎉
This is perhaps the largest release since this project was created over 10 years ago in October 2013. A lot of dust has been brushed off, a whole bunch of new platforms are now supported, several newer Java language features have been added, a new integration test runner helps protect against regressions, and dark mode is here!
I'll be figuring out a better binary publishing strategy in the near future, but for now your best bet is to pull and build from source.
The v3.0.0 release includes:
>>>) binary operator is now supported.System.outcan now be converted to commonConsoleequivalents (Replace System.out.println with Console.WriteLine #18)extendsare now translatedSpecial thanks to the following contributors to this release: @maximilien-noal@VahidN@OJacot-Descombes@Niewiarowski
This discussion was created from the release v3.0.0.
All reactions