You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Passing a map created with Map.of as in example below causes error:
java.lang.UnsupportedOperationException
at java.base/java.util.ImmutableCollections.uoe(ImmutableCollections.java:142)
at java.base/java.util.ImmutableCollections$AbstractImmutableMap.put(ImmutableCollections.java:1072)
at org.asciidoctor.jruby.extension.internal.JRubyProcessor.createPhraseNode(JRubyProcessor.java:200)
at org.asciidoctor.extension.BaseProcessor.createPhraseNode(BaseProcessor.java:109)
at org.asciidoctor.maven.test.processors.ManpageInlineMacroProcessor.process(ManpageInlineMacroProcessor.java:20)
at org.asciidoctor.maven.test.processors.ManpageInlineMacroProcessor.process(ManpageInlineMacroProcessor.java:8)
at org.asciidoctor.jruby.extension.processorproxies.InlineMacroProcessorProxy.process(InlineMacroProcessorProxy.java:123)
Passing a map created with
Map.of
as in example below causes error:I see the code modifies the user input map
asciidoctorj/asciidoctorj-core/src/main/java/org/asciidoctor/jruby/extension/internal/JRubyProcessor.java
Line 203 in e2994e0
There might be other similar cases with other user input 🤔
The text was updated successfully, but these errors were encountered: