Hello,
Couldn't find a dedicated jOOL group so I decided to ask here.
jOOL v0.9.9 introduced a bug.
The simple code:
Seq.of("a", "b")
.sorted()
.zipWithIndex()
.toList();
causes:
Exception in thread "main" java.lang.IllegalStateException
at java.util.Spliterator.getComparator(Spliterator.java:465)
at java.util.stream.StreamOpFlag.fromCharacteristics(StreamOpFlag.java:734)
at java.util.stream.StreamSupport.stream(StreamSupport.java:70)
at org.jooq.lambda.Seq.seq(Seq.java:2440)
at org.jooq.lambda.SeqUtils.transform(SeqUtils.java:56)
at org.jooq.lambda.Seq.zipWithIndex(Seq.java:4252)
at org.jooq.lambda.Seq.zipWithIndex(Seq.java:898)
at com.company.Main.main(Main.java:10)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:483)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
Could you please take a look at the problem?
v0.9.8 seems to work fine.
--
You received this message because you are subscribed to the Google Groups "jOOQ
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.