{"id":21931345,"url":"https://github.com/yucl80/code","last_synced_at":"2025-03-22T13:11:59.696Z","repository":{"id":95789822,"uuid":"137432474","full_name":"yucl80/code","owner":"yucl80","description":null,"archived":false,"fork":false,"pushed_at":"2024-09-27T00:05:33.000Z","size":13957,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-27T12:22:03.995Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yucl80.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-06-15T02:37:37.000Z","updated_at":"2024-09-27T00:05:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"96738aed-1b56-4c91-8d11-83ae240e6941","html_url":"https://github.com/yucl80/code","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yucl80%2Fcode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yucl80%2Fcode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yucl80%2Fcode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yucl80%2Fcode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yucl80","download_url":"https://codeload.github.com/yucl80/code/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244959453,"owners_count":20538628,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-28T23:13:36.583Z","updated_at":"2025-03-22T13:11:59.662Z","avatar_url":"https://github.com/yucl80.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# code\nFakeDNS\n\nFakeDNSTest \n\nrun with JVM options   --add-opens java.base/java.net=ALL-UNNAMED\n\nhttps://git1-us-west.apache.org/repos/asf?p=kudu.git;a=blob;f=java/kudu-client/src/test/java/org/apache/kudu/client/FakeDNS.java;hb=HEAD\n\n\n\nhttps://bugs.openjdk.java.net/browse/JDK-8176361\nPrevious JDK releases documented how to configure `java.net.InetAddress` to use the JNDI DNS service provider as the name service. This mechanism, and the system properties to configure it, have been removed in JDK 9 \n  \n  \nA new mechanism to configure the use of a hosts file has been introduced. \n  \nA new system property `jdk.net.hosts.file` has been defined. When this system property is set, the name and address resolution calls of `InetAddress`, i.e `getByXXX`, retrieve the relevant mapping from the specified file. The structure of this file is equivalent to that of the `/etc/hosts` file. \n  \nWhen the system property `jdk.net.hosts.file` is set, and the specified file doesn't exist, the name or address lookup will result in an UnknownHostException. Thus, a non existent hosts file is handled as if the file is empty.\n\n\nhttps://blog.codefx.org/java/five-command-line-options-to-hack-the-java-9-module-system/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyucl80%2Fcode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyucl80%2Fcode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyucl80%2Fcode/lists"}