Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-16958 Camel and JDK17
  3. CAMEL-16971

tests in camel-websocket-jsr356 failed with JDK17

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • camel-websocket
    • None
    • Unknown

    Description

      caused by

      Caused by: java.lang.IllegalStateException: Cannot get Unsafe.defineClass or equivalent
              at org.apache.webbeans.proxy.Unsafe.lambda$unsafeDefineClass$3(Unsafe.java:217)
              at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
              at org.apache.webbeans.proxy.Unsafe.unsafeDefineClass(Unsafe.java:209)
              at org.apache.webbeans.proxy.Unsafe.defineAndLoadClass(Unsafe.java:175)
              ... 82 more
      
      Caused by: java.lang.NoSuchMethodException: java.lang.Class.defineClass(java.lang.String,[B,int,int,java.lang.ClassLoader,java.security.ProtectionDomain)
              at java.base/java.lang.Class.getDeclaredMethod(Class.java:2675)
              at org.apache.webbeans.proxy.Unsafe.lambda$unsafeDefineClass$3(Unsafe.java:212)
      

      Attachments

        Activity

          People

            ffang Freeman Yue Fang
            ffang Freeman Yue Fang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: