Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8211823

Parsing of compiler directives failed Could not load file: jcmd_directives.json

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 12
    • hotspot
    • None

      After JDK-8210459 we have a test failure in tier 3:

      compiler/compilercontrol/mixed/RandomCommandsTest.java

      ---------------- stdout ----------------
      13190:
      Value error on line 2 byte 10: Method pattern error: Method pattern uses multiple '.' in pattern
        At '"<compiler.compilercontrol.share.pool.sub.Klass>/*$method'.
        match: "<compiler.compilercontrol.share.pool.sub.Klass>/*$method ()V",
        c1: {
          Exclude: true
        },
        c2: {
          Enable: true
        }
      }, {
        match: "nonexistent*.met*hod ",
        c1: {
          Enable: true
        },
        c2: {
          Enable: true
        }
      }, {
        match: "*/*met]hod,(Ljava/lang/Float;)Ljava/lang/Double;",
        PrintAssembly: true
      }, {
        match: "*Klass _method ()V",
        c1: {
          Exclude: false
        },
        c2: {
          Exclude: false
        }
      }, {
        match: "*Klass*.*_method*()V",
        nonexistent: {
          nonexistent: *Klass*.*_method*()V
        }
      }, {
        match: "$compiler.compilercontrol.share.pool.sub.Klass/<method>",
        c1: {
          Exclude: false
        },
        c2: {
          Exclude: false
        }
      }, {
        match: "compiler/compilercontrol/sh@%are/pool/sub/Klass$Internal.nonexistent*,",
        c1: {
          Enable: true
        },
        c2: {
          Enable: true
        }
      }, {
        match: "compiler/compilercontrol@%/share/pool/subpack/Klass*,*met]hod",
        c1: {
          Exclude: false
        },
        c2: {
          Exclude: false
        }
      }, {
        match: "*.*",
        c1: {
          inline: "+compiler/compilercontrol/sh@%are/pool/sub/Klass$Internal.nonexistent*,"
        },
        c2: {
          Enable: true
        }
      }]
      Internal error on line 9 byte 1: Directive missing required match.
        At '},'.
      }, {
        match: "nonexistent*.met*hod ",
        c1: {
          Enable: true
        },
        c2: {
          Enable: true
        }
      }, {
        match: "*/*met]hod,(Ljava/lang/Float;)Ljava/lang/Double;",
        PrintAssembly: true
      }, {
        match: "*Klass _method ()V",
        c1: {
          Exclude: false
        },
        c2: {
          Exclude: false
        }
      }, {
        match: "*Klass*.*_method*()V",
        nonexistent: {
          nonexistent: *Klass*.*_method*()V
        }
      }, {
        match: "$compiler.compilercontrol.share.pool.sub.Klass/<method>",
        c1: {
          Exclude: false
        },
        c2: {
          Exclude: false
        }
      }, {
        match: "compiler/compilercontrol/sh@%are/pool/sub/Klass$Internal.nonexistent*,",
        c1: {
          Enable: true
        },
        c2: {
          Enable: true
        }
      }, {
        match: "compiler/compilercontrol@%/share/pool/subpack/Klass*,*met]hod",
        c1: {
          Exclude: false
        },
        c2: {
          Exclude: false
        }
      }, {
        match: "*.*",
        c1: {
          inline: "+compiler/compilercontrol/sh@%are/pool/sub/Klass$Internal.nonexistent*,"
        },
        c2: {
          Enable: true
        }
      }]
      Parsing of compiler directives failed
      Could not load file: jcmd_directives.json

            neliasso Nils Eliasson (Inactive)
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: