Skip to content
This repository has been archived by the owner on Oct 23, 2024. It is now read-only.

Commit

Permalink
8330176: Typo in Linker javadoc
Browse files Browse the repository at this point in the history
Backport-of: 60d88b7ae2945724ab4db44207e3390bcff172c0
  • Loading branch information
minborg authored and shipilev committed Jun 5, 2024
1 parent 2b25595 commit 5602dc7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/java.base/share/classes/java/lang/foreign/Linker.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2020, 2023, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2020, 2024, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
Expand Down Expand Up @@ -598,7 +598,7 @@ static Linker nativeLinker() {
* <p>
* Calling this method is equivalent to the following code:
* {@snippet lang=java :
* linker.downcallHandle(function).bindTo(symbol);
* linker.downcallHandle(function, options).bindTo(address);
* }
*
* @param address the native memory segment whose
Expand Down

0 comments on commit 5602dc7

Please sign in to comment.