Skip to content

JVM crash on executing win_sparkle_did_find_update callback #1

@purejava

Description

@purejava

Please agree to the following

Summary

JVM crashes on executing callback

What software is involved?

  • Operating System: Windows 11
  • winsparkle-java: 1.0.0

Steps to Reproduce

  1. Define a callback class
public class CB implements win_sparkle_did_find_update_callback_t {
  @Override
  public void apply() {
  }
}
  1. Set apply() method as the callback function to be executed
winsparkle_h.win_sparkle_set_did_find_update_callback(MemoryAllocator.ALLOCATE_CALLBACK_FOR(new CB()));
  1. Trigger the callback function via WinSparkle

Expected Behavior

Callback function executes

Actual Behavior

JVM crashes

Reproducibility

Always

Relevant Log Output

See below

Anything else?

A bug report has been submitted upstream at https://bugreport.java.com/bugreport/crash.jsp

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingupstream

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions