Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7157587

Convert String.contains() to String.indexOf() to run on JDKs earlier than 1.5

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8
    • 8
    • deploy
    • None

        Part of 7130404 added support for checking os.name against "OS X". The fix used the String.contains() method which was not added until Java 1.5. Java Plug-in needs to run on 1.4 JDKs so this method needs to be converted to String.indexOf().

              jmelvin James Melvin (Inactive)
              jmelvin James Melvin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: