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

SIGSEGV when a primitive type's class is used as the host class in a call to DefineAnonymousClass call

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 8, 9
    • hotspot
    • None
    • b115

      When passing for example, "int.class" to DefineAnonymousClass as the host class a SIGSEGV results. See attached test case

      # SIGSEGV (0xb) at pc=0x00007fd0f2d67bc4, pid=17329, tid=17330
      #
      # JRE version: Java(TM) SE Runtime Environment (9.0-b84) (build 1.9.0-ea-b84)
      # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.9.0-ea-b84, mixed mode, tiered, compressed oops, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x7d3bc4] Klass::external_name() const+0x14

            hseigel Harold Seigel (Inactive)
            lfoltan Lois Foltan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: