mirror of
https://github.com/Mercury-Language/mercury.git
synced 2026-04-16 09:53:36 +00:00
Support `thread_local' mutables on Java backend.
Branches: main
compiler/make_hlds_passes.m:
Support `thread_local' mutables on Java backend.
Add some newlines in generated code for mutables.
compiler/prog_mutable.m:
Update documentation.
java/runtime/JavaInternal.java:
Avoid a warning.
This commit is contained in:
@@ -22,7 +22,7 @@ public class JavaInternal {
|
||||
public static int exit_status;
|
||||
|
||||
private static java.util.List<Runnable> finalisers
|
||||
= new java.util.ArrayList();
|
||||
= new java.util.ArrayList<Runnable>();
|
||||
|
||||
public static void register_finaliser(Runnable hook) {
|
||||
finalisers.add(hook);
|
||||
|
||||
Reference in New Issue
Block a user