Skip to content

android jdk version requireNonNullElseGet #366

Closed

Description

@Yuanarcheannovice

Steps to reproduce the problem (provide example Markdown if applicable):

my markdown

Expected behavior:

expected HTML

Actual behavior:

actual HTML

(Also see what the reference implementation does: https://spec.commonmark.org/dingus/)

java.lang.NoSuchMethodError: No static method requireNonNullElseGet(Ljava/lang/Object;Ljava/util/function/Supplier;)Ljava/lang/Object; in class Ljava/util/Objects; or its super classes (declaration of 'java.util.Objects' appears in /apex/com.android.runtime/javalib/core-oj.jar) at org.commonmark.parser.Parser$Builder.getInlineParserFactory(Parser.java:314) at org.commonmark.parser.Parser$Builder.-$$Nest$mgetInlineParserFactory(Unknown Source:0) at org.commonmark.parser.Parser.(Parser.java:43)

Activity

  1. robinst commented on Mar 23, 2025

    @robinst
    Collaborator

    Thanks, fixed in #369. Can you give it a try and report if there are any other incompatibilities? If not, I can prepare a release with this fix.

  2. Yuanarcheannovice commented on Mar 24, 2025

    @Yuanarcheannovice
    Author

    谢谢,已在#369中修复。您能否尝试一下并报告是否存在其他不兼容问题?如果不行,我可以准备一个包含此修复的版本。

    No other issues have been found yet

  3. robinst commented on Jun 20, 2025

    @robinst
    Collaborator
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions