We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d1f102 commit 886ca5fCopy full SHA for 886ca5f
src/main/java/com/falsepattern/lib/internal/impl/config/fields/AListConfigField.java
@@ -123,7 +123,7 @@ public void transmit(DataOutput output) throws IOException {
123
@Override
124
public void receive(DataInput input) throws IOException {
125
int length = input.readInt();
126
- if (length > maxLength || fixedLength && length(getDefault()) != length) {
+ if ((fixedLength && length(getDefault()) != length) || (maxLength >= 0 && length > maxLength) || length < 0) {
127
throw new IOException("Error while retrieving config value for field "
128
+ field.getName()
129
+ " in class "
0 commit comments