Skip to content

Commit

Permalink
CryptorProvider requires ServiceLoader, which requires AppDomainAssem…
Browse files Browse the repository at this point in the history
…blyClassLoader
  • Loading branch information
AliveDevil committed Aug 6, 2024
1 parent 61cf55f commit ed4c31e
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
1 change: 0 additions & 1 deletion Directory.Build.Java.props
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
<LangVersion>1.8</LangVersion>
<EnableDefaultItems>false</EnableDefaultItems>
<Static>true</Static>
<ClassLoader>ikvm.runtime.AppDomainAssemblyClassLoader</ClassLoader>
<!-- Skip EmittedNoClassDefFoundError & ClassFormatError -->
<NoWarn>IKVMC0101;IKVMC0111;$(NoWarn)</NoWarn>
</PropertyGroup>
Expand Down
4 changes: 4 additions & 0 deletions cli/src/main/csharp/ch/cyberduck/cli/WindowsTerminal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,13 @@
//

using ch.cyberduck.cli;
using ikvm.runtime;
using IKVM.Attributes;
using org.apache.commons.cli;
using Console = System.Console;

[assembly: CustomAssemblyClassLoader(typeof(AppDomainAssemblyClassLoader))]

namespace Ch.Cyberduck.Cli
{
internal class WindowsTerminal : Terminal
Expand Down
4 changes: 3 additions & 1 deletion windows/src/main/csharp/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
using System.Runtime.InteropServices;
using ikvm.runtime;
using IKVM.Attributes;

[assembly: System.Windows.ThemeInfo(System.Windows.ResourceDictionaryLocation.None, System.Windows.ResourceDictionaryLocation.SourceAssembly)]
[assembly: CustomAssemblyClassLoader(typeof(AppDomainAssemblyClassLoader))]

0 comments on commit ed4c31e

Please sign in to comment.