diff --git a/src/java.base/share/classes/java/lang/foreign/Linker.java b/src/java.base/share/classes/java/lang/foreign/Linker.java index ea407c296f7..fb325ef1d44 100644 --- a/src/java.base/share/classes/java/lang/foreign/Linker.java +++ b/src/java.base/share/classes/java/lang/foreign/Linker.java @@ -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 @@ -598,7 +598,7 @@ public sealed interface Linker permits AbstractLinker { *

* 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