René's URL Explorer Experiment


Title: Illegal reflective access by org.msgpack.core.buffer.DirectBufferAccess · Issue #605 · msgpack/msgpack-java · GitHub

Open Graph Title: Illegal reflective access by org.msgpack.core.buffer.DirectBufferAccess · Issue #605 · msgpack/msgpack-java

X Title: Illegal reflective access by org.msgpack.core.buffer.DirectBufferAccess · Issue #605 · msgpack/msgpack-java

Description: When I run my program, I get a warning message with the title. The message also said "Please consider reporting this to the maintainers of org.msgpack.core.buffer.DirectBufferAccess", so I will report it here. A simple reproduction progr...

Open Graph Description: When I run my program, I get a warning message with the title. The message also said "Please consider reporting this to the maintainers of org.msgpack.core.buffer.DirectBufferAccess", so I will rep...

X Description: When I run my program, I get a warning message with the title. The message also said "Please consider reporting this to the maintainers of org.msgpack.core.buffer.DirectBufferAccess", so ...

Opengraph URL: https://github.com/msgpack/msgpack-java/issues/605

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Illegal reflective access by org.msgpack.core.buffer.DirectBufferAccess","articleBody":"When I run my program, I get a warning message with the title. The message also said \"Please consider reporting this to the maintainers of org.msgpack.core.buffer.DirectBufferAccess\", so I will report it here.\r\n\r\nA simple reproduction program (named ReproduceCase.java) is below.\r\n```\r\nimport java.io.ByteArrayOutputStream;\r\nimport java.io.IOException;\r\nimport java.nio.ByteBuffer;\r\nimport org.msgpack.core.MessagePack;\r\nimport org.msgpack.core.MessagePacker;\r\nimport org.msgpack.core.MessageUnpacker;\r\nimport org.msgpack.core.buffer.ByteBufferInput;\r\n\r\npublic final class ReproduceCase {\r\n    class ByteBufferBackedInput extends ByteBufferInput {\r\n        ByteBufferBackedInput(ByteBuffer byteBuffer) {\r\n            super(byteBuffer);\r\n        }\r\n    }\r\n\r\n    ReproduceCase() {\r\n    }\r\n\r\n    ByteBufferInput encode() throws IOException {\r\n        ByteArrayOutputStream outputStream = new ByteArrayOutputStream();\r\n        MessagePacker packer = org.msgpack.core.MessagePack.newDefaultPacker(outputStream);\r\n\r\n        packer.packLong((long) 123456789);\r\n        packer.flush();\r\n\r\n        byte[] ba = outputStream.toByteArray();\r\n        var length = ba.length;\r\n\r\n        var directByteBuffer = ByteBuffer.allocateDirect(length);\r\n        directByteBuffer.put(ba, 0, length);\r\n        directByteBuffer.rewind();\r\n\r\n        return new ByteBufferBackedInput(directByteBuffer);\r\n    }\r\n\r\n    void decode(ByteBufferInput buffer) throws IOException {\r\n        var unpacker = org.msgpack.core.MessagePack.newDefaultUnpacker(buffer);\r\n        System.out.println(unpacker.unpackLong());\r\n    }\r\n\r\n    public static void main(String[] args) {\r\n        try {\r\n            var reproduce = new ReproduceCase();\r\n            var buffer = reproduce.encode();\r\n            reproduce.decode(buffer);\r\n        } catch (IOException e) {\r\n            System.out.println(e);\r\n        }\r\n    }\r\n}\r\n```\r\n\r\nThe warning message is output when the following line is executed.\r\n```\r\n        var unpacker = org.msgpack.core.MessagePack.newDefaultUnpacker(buffer);\r\n```\r\n\r\nThe following is supplementary information.\r\n1) This happens with both msgpack-core-0.8.24 and 0.9.0.\r\n2) unpacker.unpackLong() works fine, as you can see when you run the program.\r\n3) If you used ByteBuffer.allocate(length) instead of ByteBuffer.allocateDirect(length), you will not get that warning. However, that is not a solution for me because my program needs to use direct byte buffer.\r\n","author":{"url":"https://github.com/t-horikawa","@type":"Person","name":"t-horikawa"},"datePublished":"2021-11-18T08:13:33.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/605/msgpack-java/issues/605"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:4cec0edb-bf72-d52a-35f0-9c6f416fc56f
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9C2C:1D4F69:215C311:2D3F8F3:6A538E46
html-safe-nonce9e5f57c17d0882467b38b0ba85d8e7e9a39cb5d32a39b1a3ed0a59985c1db246
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzJDOjFENEY2OToyMTVDMzExOjJEM0Y4RjM6NkE1MzhFNDYiLCJ2aXNpdG9yX2lkIjoiMTU5NDk1MDY0OTkxMjcyNTA2MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac4de26ba4696f2c095a6749d51cf3611e4aab6ede430c78450b1289a235c4c348
hovercard-subject-tagissue:1057060583
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/msgpack/msgpack-java/605/issue_layout
twitter:imagehttps://opengraph.githubassets.com/67cb51cb978a40dd581580971c078ba7a1b81a2c84ffd8e5d82cec81c98f3149/msgpack/msgpack-java/issues/605
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/67cb51cb978a40dd581580971c078ba7a1b81a2c84ffd8e5d82cec81c98f3149/msgpack/msgpack-java/issues/605
og:image:altWhen I run my program, I get a warning message with the title. The message also said "Please consider reporting this to the maintainers of org.msgpack.core.buffer.DirectBufferAccess", so I will rep...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamet-horikawa
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-preview
go-importgithub.com/msgpack/msgpack-java git https://github.com/msgpack/msgpack-java.git
octolytics-dimension-user_id198264
octolytics-dimension-user_loginmsgpack
octolytics-dimension-repository_id1971346
octolytics-dimension-repository_nwomsgpack/msgpack-java
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1971346
octolytics-dimension-repository_network_root_nwomsgpack/msgpack-java
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release07a982c1d40157c619b364352b704c3ce66bb332
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/msgpack/msgpack-java/issues/605#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmsgpack%2Fmsgpack-java%2Fissues%2F605
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmsgpack%2Fmsgpack-java%2Fissues%2F605
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=msgpack%2Fmsgpack-java
Reloadhttps://github.com/msgpack/msgpack-java/issues/605
Reloadhttps://github.com/msgpack/msgpack-java/issues/605
Reloadhttps://github.com/msgpack/msgpack-java/issues/605
Please reload this pagehttps://github.com/msgpack/msgpack-java/issues/605
msgpack https://github.com/msgpack
msgpack-javahttps://github.com/msgpack/msgpack-java
Notifications https://github.com/login?return_to=%2Fmsgpack%2Fmsgpack-java
Fork 323 https://github.com/login?return_to=%2Fmsgpack%2Fmsgpack-java
Star 1.5k https://github.com/login?return_to=%2Fmsgpack%2Fmsgpack-java
Code https://github.com/msgpack/msgpack-java
Issues 60 https://github.com/msgpack/msgpack-java/issues
Pull requests 5 https://github.com/msgpack/msgpack-java/pulls
Actions https://github.com/msgpack/msgpack-java/actions
Projects https://github.com/msgpack/msgpack-java/projects
Wiki https://github.com/msgpack/msgpack-java/wiki
Security and quality 1 https://github.com/msgpack/msgpack-java/security
Insights https://github.com/msgpack/msgpack-java/pulse
Code https://github.com/msgpack/msgpack-java
Issues https://github.com/msgpack/msgpack-java/issues
Pull requests https://github.com/msgpack/msgpack-java/pulls
Actions https://github.com/msgpack/msgpack-java/actions
Projects https://github.com/msgpack/msgpack-java/projects
Wiki https://github.com/msgpack/msgpack-java/wiki
Security and quality https://github.com/msgpack/msgpack-java/security
Insights https://github.com/msgpack/msgpack-java/pulse
Illegal reflective access by org.msgpack.core.buffer.DirectBufferAccesshttps://github.com/msgpack/msgpack-java/issues/605#top
https://github.com/t-horikawa
t-horikawahttps://github.com/t-horikawa
on Nov 18, 2021https://github.com/msgpack/msgpack-java/issues/605#issue-1057060583
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.