Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
implement more JVM_* methods and avoid duplicate array class loading
- Loading branch information
Showing
4 changed files
with
168 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
/* Copyright (c) 2010, Avian Contributors | ||
Permission to use, copy, modify, and/or distribute this software | ||
for any purpose with or without fee is hereby granted, provided | ||
that the above copyright notice and this permission notice appear | ||
in all copies. | ||
There is NO WARRANTY for this software. See license.txt for | ||
details. */ | ||
|
||
package avian; | ||
|
||
import java.security.AllPermission; | ||
import java.security.Permissions; | ||
import java.security.ProtectionDomain; | ||
|
||
public class OpenJDK { | ||
public static ProtectionDomain getProtectionDomain() { | ||
Permissions p = new Permissions(); | ||
p.add(new AllPermission()); | ||
return new ProtectionDomain(null, p); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters