-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #21 from vpa-research/patches-mikhail
Specs for `java.lang.System`, `java.lang.Integer`, `java.lang.Float`, `java.util.concurrent.atomic.AtomicBoolean/Integer/Long/Reference` + Minor improvements to `java.util.ArrayList`, `java.util.LinkedList`
- Loading branch information
Showing
110 changed files
with
10,808 additions
and
2,368 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
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,27 @@ | ||
//#! pragma: non-synthesizable | ||
libsl "1.1.0"; | ||
|
||
library std | ||
version "11" | ||
language "Java" | ||
url "https://github.com/openjdk/jdk11/blob/master/src/java.base/share/classes/java/io/Console.java"; | ||
|
||
// imports | ||
|
||
import java/io/Flushable; | ||
|
||
|
||
// primary semantic types | ||
|
||
@final type Console | ||
is java.io.Console | ||
for Flushable | ||
{ | ||
} | ||
|
||
// see java.io.Console#istty | ||
val CONSOLE_IS_TTY: boolean = action SYMBOLIC("boolean"); | ||
|
||
|
||
// global aliases and type overrides | ||
|
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,24 @@ | ||
//#! pragma: non-synthesizable | ||
libsl "1.1.0"; | ||
|
||
library std | ||
version "11" | ||
language "Java" | ||
url "https://github.com/openjdk/jdk11/blob/master/src/java.base/share/classes/java/io/FileDescriptor.java"; | ||
|
||
// imports | ||
|
||
import java/lang/Object; | ||
|
||
|
||
// primary semantic types | ||
|
||
@public type FileDescriptor | ||
is java.io.FileDescriptor | ||
for Object | ||
{ | ||
fun valid(): boolean; | ||
|
||
@throws(["java.io.SyncFailedException"]) | ||
fun sync(): void; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
//#! pragma: non-synthesizable | ||
libsl "1.1.0"; | ||
|
||
library std | ||
version "11" | ||
language "Java" | ||
url "https://github.com/openjdk/jdk11/blob/master/src/java.base/share/classes/java/lang/ClassLoader.java"; | ||
|
||
// imports | ||
|
||
import java/lang/Object; | ||
|
||
|
||
// primary semantic types | ||
|
||
@final type ClassLoader | ||
is java.lang.ClassLoader | ||
for Object | ||
{ | ||
} | ||
|
||
|
||
// global aliases and type overrides | ||
|
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
Oops, something went wrong.