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

Class method getAnnotations fails upon any use

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 5.0
    • hotspot
    • x86
    • windows_xp


      ###@###.### 2004-01-12


      J2SE Version (please include all output from java -version flag):
        java version "1.5.0-beta"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta-b32)
        Java HotSpot(TM) Client VM (build 1.5.0-beta-b32, mixed mode)

      Does this problem occur on J2SE 1.4 or 1.4.1 or 1.4.2? Yes / No (pick one)
        No - not applicable to 1.4

      Operating System Configuration Information (be specific):
        Microsoft Windows XP Professional SP1

      Hardware Configuration Information (be specific):
        Gateway Pentium M 1400MHz

      Bug Description:

        Class method getAnnotations fails upon any use:
      #
      # An unexpected error has been detected by HotSpot Virtual Machine:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d72679e, pid=2944,
      tid=2948
      #
      # Java VM: Java HotSpot(TM) Client VM (1.5.0-beta-b32 mixed mode)
      # Problematic frame:
      # V [jvm.dll+0x10679e]

      Steps to Reproduce (be specific):

      javac Gather.java
      java Gather

      Test program (Gather.java):

      import java.lang.annotation.*;

      public class Gather {
         public static void main(String[] args) {
            String.class.getAnnotations();
         }
      }

            kbr Kenneth Russell (Inactive)
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: