Uploaded image for project: 'Java Mission Control'
  1. Java Mission Control
  2. JMC-6000

Get rid of build warnings in the JMC agent

XMLWordPrintable

      From JMC-5790:

      Warnings on jmc.agent project:

      [INFO] — maven-compiler-plugin:3.2:compile (default-compile) @ org.openjdk.jmc.bciagent —
      [INFO] Changes detected - recompiling the module!
      [INFO] Compiling 32 source files to /home/ola/dev/clients/ola.linux/mc/main/missioncontrol/core/org.openjdk.jmc.bciagent/target/classes
      [WARNING] /home/ola/dev/clients/ola.linux/mc/main/missioncontrol/core/org.openjdk.jmc.bciagent/src/main/java/org/openjdk/jmc/bciagent/util/TypeUtils.java:[47,16] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
      [WARNING] /home/ola/dev/clients/ola.linux/mc/main/missioncontrol/core/org.openjdk.jmc.bciagent/src/main/java/org/openjdk/jmc/bciagent/util/TypeUtils.java:[216,23] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
      [WARNING] /home/ola/dev/clients/ola.linux/mc/main/missioncontrol/core/org.openjdk.jmc.bciagent/src/main/java/org/openjdk/jmc/bciagent/util/TypeUtils.java:[219,35] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
      [WARNING] /home/ola/dev/clients/ola.linux/mc/main/missioncontrol/core/org.openjdk.jmc.bciagent/src/main/java/org/openjdk/jmc/bciagent/util/TypeUtils.java:[221,33] sun.misc.Unsafe is internal proprietary API and may be removed in a future release
      [INFO] — maven-shade-plugin:3.1.1:shade (default) @ org.openjdk.jmc.bciagent —
      [INFO] Including org.ow2.asm:asm:jar:6.1.1 in the shaded jar.
      [INFO] Including org.ow2.asm:asm-commons:jar:6.1.1 in the shaded jar.
      [INFO] Including org.ow2.asm:asm-tree:jar:6.1.1 in the shaded jar.
      [INFO] Including org.ow2.asm:asm-analysis:jar:6.1.1 in the shaded jar.
      [INFO] Including org.ow2.asm:asm-util:jar:6.1.1 in the shaded jar.
      [WARNING] Discovered module-info.class. Shading will break its strong encapsulation.
      [WARNING] Discovered module-info.class. Shading will break its strong encapsulation.
      [WARNING] Discovered module-info.class. Shading will break its strong encapsulation.
      [WARNING] Discovered module-info.class. Shading will break its strong encapsulation.
      [WARNING] Discovered module-info.class. Shading will break its strong encapsulation.
      [INFO] Replacing original artifact with shaded artifact.

            ghb Guru Hb (Inactive)
            klward Klara Ward
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: