Skip to content

Commit

Permalink
8276572: Fake libsyslookup.so library causes tooling issues
Browse files Browse the repository at this point in the history
Reviewed-by: shade, mcimadamore
  • Loading branch information
gnu-andrew committed Nov 5, 2021
1 parent b01f107 commit a472433
Showing 1 changed file with 5 additions and 0 deletions.
Expand Up @@ -26,3 +26,8 @@
// Note: the include below is not strictly required, as dependencies will be pulled using linker flags.
// Adding at least one #include removes unwanted warnings on some platforms.
#include <stdlib.h>

// Simple dummy function so this library appears as a normal library to tooling.
char* syslookup() {
return "syslookup";
}

3 comments on commit a472433

@openjdk-notifier
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gnu-andrew
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/backport jdk17u

@openjdk
Copy link

@openjdk openjdk bot commented on a472433 Nov 5, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gnu-andrew @gnu-andrew the backport was successfully created on the branch gnu-andrew-backport-a4724332 in my personal fork of openjdk/jdk17u. To create a pull request with this backport targeting openjdk/jdk17u:master, just click the following link:

➡️ Create pull request

The title of the pull request is automatically filled in correctly and below you find a suggestion for the pull request body:

Hi all,

this pull request contains a backport of commit a4724332 from the openjdk/jdk repository.

The commit being backported was authored by Andrew John Hughes on 5 Nov 2021 and was reviewed by Aleksey Shipilev and Maurizio Cimadamore.

Thanks!

If you need to update the source branch of the pull then run the following commands in a local clone of your personal fork of openjdk/jdk17u:

$ git fetch https://github.com/openjdk-bots/jdk17u gnu-andrew-backport-a4724332:gnu-andrew-backport-a4724332
$ git checkout gnu-andrew-backport-a4724332
# make changes
$ git add paths/to/changed/files
$ git commit --message 'Describe additional changes made'
$ git push https://github.com/openjdk-bots/jdk17u gnu-andrew-backport-a4724332

Please sign in to comment.