René's URL Explorer Experiment


Title: java.lang.VerifyError: Bad operand type when invoking · Issue #60 · luontola/retrolambda · GitHub

Open Graph Title: java.lang.VerifyError: Bad operand type when invoking · Issue #60 · luontola/retrolambda

X Title: java.lang.VerifyError: Bad operand type when invoking · Issue #60 · luontola/retrolambda

Description: This is quite easy to reproduce. I created the smallest possible test set So, I have two classes, in the first one I have a singleton (for the test the instance is not stored but it doesn't matter now) and, for some reason, I use a suppl...

Open Graph Description: This is quite easy to reproduce. I created the smallest possible test set So, I have two classes, in the first one I have a singleton (for the test the instance is not stored but it doesn't matter ...

X Description: This is quite easy to reproduce. I created the smallest possible test set So, I have two classes, in the first one I have a singleton (for the test the instance is not stored but it doesn't mat...

Opengraph URL: https://github.com/luontola/retrolambda/issues/60

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"java.lang.VerifyError: Bad operand type when invoking \u003cinit\u003e","articleBody":"This is quite easy to reproduce. I created the smallest possible test set\n\nSo, I have two classes, in the first one I have a singleton (for the test the instance is not stored but it doesn't matter now) and, for some reason, I use a supplier to create the instance. This test works well if the supplier is created as an inner class or with lambda. It crashes when using the method reference (::new).\n\n``` java\npublic class Test1 {\n\n  Test1() {}\n\n  static Test1 get() {\n    Supplier\u003cTest1\u003e s = Test1::new;\n    return s.get();\n  }\n\n  interface Supplier\u003cE\u003e {\n    E get();\n  }\n}\n```\n\nSo there's a simple method get who creates the instance by using Test1::new method reference.\n\nThen there's a second class who calls the get():\n\n``` java\npublic class Test2 {\n  public static void main(String[] args) {\n    Test1.get();\n  }\n}\n```\n\nWhen compiled with retrolambda, bytecode 51, and executed, the output is\n\n\u003e Exception in thread \"main\" java.lang.VerifyError: Bad operand type when invoking \u003cinit\u003e\n\u003e Exception Details:\n\u003e   Location:\n\u003e     Test1.access$lambda$0(LTest1;)V @1: invokespecial\n\u003e   Reason:\n\u003e     Invalid type: 'Test1' (current frame, stack[0])\n\u003e   Current Frame:\n\u003e     bci: @1\n\u003e     flags: { }\n\u003e     locals: { 'Test1' }\n\u003e     stack: { 'Test1' }\n\u003e   Bytecode:\n\u003e     0x0000000: 2ab7 001f b1\n\u003e         at Test2.main(Test2.java:4)\n\nI tested with latest retrolambda 2.0.3 compiled with java 1.8.0_45\n","author":{"url":"https://github.com/pietrodev","@type":"Person","name":"pietrodev"},"datePublished":"2015-06-24T14:55:06.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/60/retrolambda/issues/60"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:9a6f68de-c624-c5db-bc09-dba99e19208f
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBC38:1CCFE3:325127A:42F97CC:6A654F63
html-safe-nonce50f669e3da5f24d3d66a4b47a20f6350949899c5fd346ab677c3810337993867
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzM4OjFDQ0ZFMzozMjUxMjdBOjQyRjk3Q0M6NkE2NTRGNjMiLCJ2aXNpdG9yX2lkIjoiMjE1NjQxNjcxNzkwNDIzNjM4NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2a47d0ce39a3c3c678c027d8c51823d9251969ed42817dca042a978de6e03311
hovercard-subject-tagissue:90700306
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/luontola/retrolambda/60/issue_layout
twitter:imagehttps://opengraph.githubassets.com/eb14043550334f8498cbbefba09e9022aa9fa06d3510ba88a70f658c85d9961b/luontola/retrolambda/issues/60
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/eb14043550334f8498cbbefba09e9022aa9fa06d3510ba88a70f658c85d9961b/luontola/retrolambda/issues/60
og:image:altThis is quite easy to reproduce. I created the smallest possible test set So, I have two classes, in the first one I have a singleton (for the test the instance is not stored but it doesn't matter ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepietrodev
hostnamegithub.com
expected-hostnamegithub.com
None52c76df668885aaff23b50bdca1fa1ea44ac9c1553e888ebc70ff1e4daa4625b
turbo-cache-controlno-preview
go-importgithub.com/luontola/retrolambda git https://github.com/luontola/retrolambda.git
octolytics-dimension-user_id42678
octolytics-dimension-user_loginluontola
octolytics-dimension-repository_id11543691
octolytics-dimension-repository_nwoluontola/retrolambda
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id11543691
octolytics-dimension-repository_network_root_nwoluontola/retrolambda
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
release309153364422b3c499922d1a2a6404910a58ed8e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/luontola/retrolambda/issues/60#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fluontola%2Fretrolambda%2Fissues%2F60
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
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
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%2Fluontola%2Fretrolambda%2Fissues%2F60
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=luontola%2Fretrolambda
Reloadhttps://github.com/luontola/retrolambda/issues/60
Reloadhttps://github.com/luontola/retrolambda/issues/60
Reloadhttps://github.com/luontola/retrolambda/issues/60
luontola https://github.com/luontola
retrolambdahttps://github.com/luontola/retrolambda
Notifications https://github.com/login?return_to=%2Fluontola%2Fretrolambda
Fork 226 https://github.com/login?return_to=%2Fluontola%2Fretrolambda
Star 3.5k https://github.com/login?return_to=%2Fluontola%2Fretrolambda
Code https://github.com/luontola/retrolambda
Issues 15 https://github.com/luontola/retrolambda/issues
Pull requests 11 https://github.com/luontola/retrolambda/pulls
Actions https://github.com/luontola/retrolambda/actions
Projects https://github.com/luontola/retrolambda/projects
Wiki https://github.com/luontola/retrolambda/wiki
Security and quality 0 https://github.com/luontola/retrolambda/security
Insights https://github.com/luontola/retrolambda/pulse
Code https://github.com/luontola/retrolambda
Issues https://github.com/luontola/retrolambda/issues
Pull requests https://github.com/luontola/retrolambda/pulls
Actions https://github.com/luontola/retrolambda/actions
Projects https://github.com/luontola/retrolambda/projects
Wiki https://github.com/luontola/retrolambda/wiki
Security and quality https://github.com/luontola/retrolambda/security
Insights https://github.com/luontola/retrolambda/pulse
java.lang.VerifyError: Bad operand type when invoking https://github.com/luontola/retrolambda/issues/60#top
https://github.com/pietrodev
pietrodevhttps://github.com/pietrodev
on Jun 24, 2015https://github.com/luontola/retrolambda/issues/60#issue-90700306
@1https://github.com/1
@1https://github.com/1
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.