Make @compile to use test JDK and @build to use compile JDK.

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P3
    • None
    • Affects Version/s: None
    • Component/s: tools
    • None

      Currently there are three options to specify JDK in JTReg tests: -jdk, -testjdk and -compilejdk. -jdk is an alias for equal settings for -compilejdk and -testjdk.
      Also there are @compile and @build JTReg tags both of which use compile JDK.
      Meaning of the two tags is different, however. Semantically, @build is intended for compiling some test code as a prelude to executing that code as a test, while @compile is generally used for compiling some code as a test of javac.
      @compile should be using test JDK as this action is a test action.
      @build should use compile JDK

            Assignee:
            Christian Stein
            Reporter:
            Aleksandre Iline
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: