Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-10066

Startup Java version check is fragile, blocks startup in cases where it shouldn't

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.0
    • Fix Version/s: None
    • Component/s: Bootstrap
    • Labels:
    • Story Points:
      1
    • Sprint:
      Sprint 89

      Description

      An end user has has this Java:

      $ java -version
      
      openjdk version "1.8.0-internal"
      
      OpenJDK Runtime Environment (build 1.8.0-internal-tools_2015_07_09_11_47-b00)
      
      OpenJDK 64-Bit Server VM (build 25.0-b70, mixed mode)
      
      

      Using this, they cannot start Nexus 3:

      $ ./nexus run
      
      invalid version "1.8.0-internal": non-numeric "0-internal"
      

      This seems wrong to me. I think it's find to log a warning for an unsupported version, but we shouldn't flat out prevent startup.

        Attachments

          Activity

            People

            Assignee:
            bradbeck Brad Beck
            Reporter:
            rseddon Rich Seddon
            Last Updated By:
            Peter Lynch
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Date of First Response:

                tigCommentSecurity.panel-title