Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-3205

OutputStreamManager.flushBuffer throw NoSuchMethodError ByteBuffer.clear

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Bug
    • None
    • None
    • Core
    • None

    Description

      Using mvn with jdk9, the compiled sources would throw NoSuchMethodError ByteBuffer.clear when running in a jdk1.8 env. 

      if change the pom.xml, using <maven.compiler.release>8</maven.compiler.release> instead of the orginal maven.compiler.source and maven.compiler.target,it would solve the problem.

       

       

      Attachments

        1. image-2021-12-10-20-54-02-134.png
          13 kB
          dingjsh
        2. image-2021-12-10-20-53-34-503.png
          88 kB
          dingjsh
        3. image-2021-12-10-20-52-45-490.png
          40 kB
          dingjsh

        Activity

          People

            Unassigned Unassigned
            dingjsh666 dingjsh
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: