Derby
  1. Derby
  2. DERBY-5310

PropertySetter prints warning when building with JDK 7

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 10.9.1.0
    • Fix Version/s: 10.9.1.0
    • Component/s: Build tools
    • Labels:
      None

      Description

      Building with JDK 7 works fine, but the following warning is printed:

      [setJdkProperties] Unrecognized VM vendor: 'Oracle Corporation'
      [setJdkProperties] An attempt to configure the required JDKs will be made, but the build may fail.
      [setJdkProperties] In case of problems:
      [setJdkProperties] - consult BUILDING.html and set the required properties manually
      [setJdkProperties] - set the property printCompilerProperties to true and ask the Derby development community for help
      [setJdkProperties] (please provide the debug output from running ant)

      We should update PropertySetter to silently accept the JDK if the vendor is Oracle.

      1. d5310.diff
        3 kB
        Knut Anders Hatlen

        Activity

        Hide
        Knut Anders Hatlen added a comment -

        Attaching a patch which makes PropertySetter accept "Oracle Corporation" in the java.vendor property.

        Show
        Knut Anders Hatlen added a comment - Attaching a patch which makes PropertySetter accept "Oracle Corporation" in the java.vendor property.
        Hide
        Knut Anders Hatlen added a comment -

        Committed revision 1142591.

        Show
        Knut Anders Hatlen added a comment - Committed revision 1142591.

          People

          • Assignee:
            Knut Anders Hatlen
            Reporter:
            Knut Anders Hatlen
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development