[Bug 3274] New: InstrumentationControl in thermostat-vm-profiler-jvm-agent is compiled for source, target 1.6 but uses packages marked for 1.7+

bugzilla-daemon at icedtea.classpath.org bugzilla-daemon at icedtea.classpath.org
Thu Dec 22 21:11:24 UTC 2016


http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3274

            Bug ID: 3274
           Summary: InstrumentationControl in
                    thermostat-vm-profiler-jvm-agent is compiled for
                    source, target 1.6 but uses packages marked for 1.7+
           Product: Thermostat
           Version: hg
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P5
         Component: Thermostat
          Assignee: unassigned at icedtea.classpath.org
          Reporter: jkang at redhat.com
                CC: thermostat at icedtea.classpath.org

The InstrumentationControl class uses packages such as java.nio.* that are 1.7+
but the module that contains it is source, target 1.6 in order to support the
oldest supported jvm version. The code should be changed to not use unavailable
features in 1.6.

The pom file has the comment:

  <!--
    This is a stand alone agent for the JVM. It is meant to be loaded
    into target JVMs. It runs outside of thermostat and does not know
    about thermostat. It is not OSGi, and has no dependencies on OSGi
    and does not know about OSGi. It must be compiled with the target
    bytecode format for the oldest supported JVM version.
  -->

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20161222/068f902f/attachment.html>


More information about the distro-pkg-dev mailing list