Skip to content

Commit

Permalink
Merge pull request ibmruntimes#3 from pshipton/register
Browse files Browse the repository at this point in the history
add Thread.registerNatives
  • Loading branch information
tajila authored Jun 16, 2022
2 parents 4aba41c + 9f1c3c5 commit b1d5ed8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/java.base/share/classes/java/lang/Thread.java
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,12 @@
* @since 1.0
*/
public class Thread implements Runnable {
/* Make sure registerNatives is the first thing <clinit> does. */
private static native void registerNatives();
static {
registerNatives();
}

/* Reserved for exclusive use by the JVM, maybe move to FieldHolder */
private long eetop;

Expand Down

0 comments on commit b1d5ed8

Please sign in to comment.