Describe the bug
I attempt to archive a repository using the following code:
GHRepository repo = this.org.getRepository("repo-name-here");
repo.archive();
When checking GitHub itself, the repository is in fact archived, however I receive a warning in the stderr stream consisting of the following:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.kohsuke.github.GitHubHttpUrlConnectionClient$HttpURLConnectionResponseInfo (file:/C:/Users/andrew/.m2/repository/org/kohsuke/github-api/1.108/github-api-1.108.jar) to field java.net.HttpURLConnection.method
WARNING: Please consider reporting this to the maintainers of org.kohsuke.github.GitHubHttpUrlConnectionClient$HttpURLConnectionResponseInfo
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
To Reproduce
Steps to reproduce the behavior:
- Fetch a
GHRepository that is not yet archived.
- Call
archive() on that repository.
Expected behavior
I expect that there should not be any illegal reflective access exceptions.
Desktop (please complete the following information):
- OS: Windows 10
- Browser Firefox
- Version 74
Describe the bug
I attempt to archive a repository using the following code:
When checking GitHub itself, the repository is in fact archived, however I receive a warning in the stderr stream consisting of the following:
To Reproduce
Steps to reproduce the behavior:
GHRepositorythat is not yet archived.archive()on that repository.Expected behavior
I expect that there should not be any illegal reflective access exceptions.
Desktop (please complete the following information):