Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-2654

Illegal reflective access warning appears using JDK11

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 4.0.0.Final
    • None
    • None
    • Hide
      Weld weld = new Weld();
      WeldContainer container = weld.initialize();
      HelloWorld helloWorld = container.select(HelloWorld.class).get();
      helloWorld.run();
      weld.shutdown();

       

      Show
      Weld weld = new Weld(); WeldContainer container = weld.initialize(); HelloWorld helloWorld = container.select(HelloWorld.class).get(); helloWorld.run(); weld.shutdown();  
    • Undefined

    Description

      illegal reflective access appears when bootstrapping weld

      WARNING: An illegal reflective access operation has occurred
      WARNING: Illegal reflective access by org.jboss.weld.util.bytecode.ClassFileUtils$1 (file:/home/mzatko/.m2/repository/org/jboss/weld/weld-core-impl/4.0.0.Final/weld-core-impl-4.0.0.Final.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int)
      WARNING: Please consider reporting this to the maintainers of org.jboss.weld.util.bytecode.ClassFileUtils$1
      WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
      WARNING: All illegal access operations will be denied in a future release

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              mireczatko Miroslav Zaťko (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: