Repository navigation
Added new names of Moxa's ports as proposed in (https://github.com/java-native/jssc/issues/179#issuecomment-2559994533) - #180
Merged
Conversation
pietrygamat
pushed a commit
to pietrygamat/jssc
that referenced
this pull request
Oct 17, 2026
One test per mistake that reached users before, so each fails if it comes back (JOURNAL.md now maps lesson -> test): - java-native#113 baud rate truncated by a cast: set every standard rate and read it back with stty (verified: reintroducing a (jbyte) cast fails it) - java-native#192 0-byte reads on a real open port - java-native#86/java-native#181 event carries its port; removeEventListener true, then false - java-native#107/java-native#181 closePort after the device vanished does not throw - java-native#90 a port opened above fd 1024 still reads (poll on Linux) - java-native#80 the library loads under a Turkish default locale - java-native#160 exceptions stay IOExceptions - java-native#51/java-native#65 tests load the native library just built, not another copy - java-native#110 class files have the configured target version - java-native#179/java-native#180/java-native#182 Linux port names incl. Moxa, and getPortNames(Pattern) VirtualPortRule gets unplug() (stop socat) and one executor per rule: the shared static executor was shut down after the first test, so a class could only hold one socat test. Two tests found open bugs, recorded in BACKLOG: - reading from an unplugged port hangs on Linux because read() returns 0 after a hangup and the native loop retries (B-04); that test is @ignore'd until the fix - an incremental build without clean leaves Java 9 class files, because the second compiler pass sees up-to-date classes (new B-25) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RPFQMyWmP4EyGx33gCHP2r
pietrygamat
pushed a commit
to pietrygamat/jssc
that referenced
this pull request
Oct 17, 2026
One test per mistake that reached users before, so each fails if it comes back (JOURNAL.md now maps lesson -> test): - java-native#113 baud rate truncated by a cast: set every standard rate and read it back with stty (verified: reintroducing a (jbyte) cast fails it) - java-native#192 0-byte reads on a real open port - java-native#86/java-native#181 event carries its port; removeEventListener true, then false - java-native#107/java-native#181 closePort after the device vanished does not throw - java-native#90 a port opened above fd 1024 still reads (poll on Linux) - java-native#80 the library loads under a Turkish default locale - java-native#160 exceptions stay IOExceptions - java-native#51/java-native#65 tests load the native library just built, not another copy - java-native#110 class files have the configured target version - java-native#179/java-native#180/java-native#182 Linux port names incl. Moxa, and getPortNames(Pattern) VirtualPortRule gets unplug() (stop socat) and one executor per rule: the shared static executor was shut down after the first test, so a class could only hold one socat test. Two tests found open bugs, recorded in BACKLOG: - reading from an unplugged port hangs on Linux because read() returns 0 after a hangup and the native loop retries (B-04); that test is @ignore'd until the fix - an incremental build without clean leaves Java 9 class files, because the second compiler pass sees up-to-date classes (new B-25) Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RPFQMyWmP4EyGx33gCHP2r
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
1-st part of changes required by #179