diff options
Diffstat (limited to 'public/java-segfault-redux.md')
-rw-r--r-- | public/java-segfault-redux.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/public/java-segfault-redux.md b/public/java-segfault-redux.md index e91dcd3..6959498 100644 --- a/public/java-segfault-redux.md +++ b/public/java-segfault-redux.md @@ -70,10 +70,10 @@ through all of the JVM stuff to the OpenCV code, and the OpenCV stuff is opaque to Java debuggers. Eventually the issue lead me back into the WPICameraExtension, then -into WPIJavaCV--there was a native pointer being stored in a Java +into WPIJavaCV---there was a native pointer being stored in a Java variable; Java code called the native routine to `free()` the structure, but then tried to feed it to another routine later. This -lead to difficulty again--tracking objects with Java debuggers was +lead to difficulty again---tracking objects with Java debuggers was hard because they don't expect the program to suddenly segfault; it's Java code, Java doesn't segfault, it throws exceptions! |