{"id":25255830,"url":"https://github.com/dashorst/jrebel-2018.2.2-serialization-reproduction","last_synced_at":"2025-04-05T23:45:39.914Z","repository":{"id":136752963,"uuid":"157551302","full_name":"dashorst/jrebel-2018.2.2-serialization-reproduction","owner":"dashorst","description":"Provides a reproduction case for a bug in JRebel 2018.2.2 where a method reference is invoked during serialzation after a code modification. This is solved in the nightly of 20181114 and beyond.","archived":false,"fork":false,"pushed_at":"2018-11-14T13:27:47.000Z","size":25,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-12T06:08:20.787Z","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/dashorst.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-11-14T13:15:32.000Z","updated_at":"2018-11-14T13:27:48.000Z","dependencies_parsed_at":"2023-07-16T09:24:49.387Z","dependency_job_id":null,"html_url":"https://github.com/dashorst/jrebel-2018.2.2-serialization-reproduction","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/dashorst%2Fjrebel-2018.2.2-serialization-reproduction","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashorst%2Fjrebel-2018.2.2-serialization-reproduction/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashorst%2Fjrebel-2018.2.2-serialization-reproduction/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashorst%2Fjrebel-2018.2.2-serialization-reproduction/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dashorst","download_url":"https://codeload.github.com/dashorst/jrebel-2018.2.2-serialization-reproduction/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247415918,"owners_count":20935385,"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":"2025-02-12T05:59:50.196Z","updated_at":"2025-04-05T23:45:39.904Z","avatar_url":"https://github.com/dashorst.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JRebel 2018.2.2 Serialization invocation reproduction\n\nProvides a reproduction case for a bug in JRebel 2018.2.2 where a method reference is invoked during serialzation after a code modification. \nThis is solved in the nightly of 20181114 and beyond.\n\n## Scenario\n\n1. Have a [page][page] with a [Lambda][lambdalink] method [reference][lambdause] you don't want to be called without explicit consent of your user (e.g. _Start global thermonuclear war_, or _Delete_)\n2. Start the application with the JRebel agent 2018.2.2 enabled\n3. Open that page instance (this serializes the page instance)\n4. Modify some code (e.g. [change `System.err` to `System.out` or vice versa][modify])\n5. JRebel updates the running code (YAY!)\n6. Refresh the page in your browser causing it to be deserialized and then serialized\n7. Observe the log output to show *\"This shouldn't happen\"*\n\nYou can also set a break point in the debugger on the [delete method]()\n\n## Running\n\n* Have JRebel 2018.2.2 installed and enabled.\n* Run the class `Start` in `src/test/java/com/mycompany`\n* Open http://localhost:8080\n* Follow the instructions in the page\n\n[page]: https://github.com/dashorst/jrebel-2018.2.2-serialization-reproduction/blob/master/src/main/java/com/mycompany/HomePage.java\n[lambdalink]: https://github.com/dashorst/jrebel-2018.2.2-serialization-reproduction/blob/master/src/main/java/com/mycompany/LambdaLink.java\n[lambdause]: https://github.com/dashorst/jrebel-2018.2.2-serialization-reproduction/blob/master/src/main/java/com/mycompany/HomePage.java#L12\n[modify]: https://github.com/dashorst/jrebel-2018.2.2-serialization-reproduction/blob/master/src/main/java/com/mycompany/HomePage.java#L16\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashorst%2Fjrebel-2018.2.2-serialization-reproduction","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdashorst%2Fjrebel-2018.2.2-serialization-reproduction","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashorst%2Fjrebel-2018.2.2-serialization-reproduction/lists"}