Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-1835

Running tests using JDK 1.8 complains about MaxPermSize

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.0
    • Fix Version/s: 1.8.1
    • Component/s: java
    • Labels:
      None

      Description

      When building AVRO under JDK 1.8 (as I assume most of us do) the output
      contains the line

      OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=200m; support was removed in 8.0

      for every test class that is run.
      The the output becomes cluttered like this:

      -------------------------------------------------------
       T E S T S
      -------------------------------------------------------
      OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=200m; support was removed in 8.0
      Running org.apache.avro.io.TestEncoders
      Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.467 sec - in org.apache.avro.io.TestEncoders
      OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=200m; support was removed in 8.0
      Running org.apache.avro.io.TestBlockingIO2
      Tests run: 84, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.157 sec - in org.apache.avro.io.TestBlockingIO2
      OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=200m; support was removed in 8.0
      Running org.apache.avro.io.TestBlockingIO
      Tests run: 376, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.347 sec - in org.apache.avro.io.TestBlockingIO
      OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=200m; support was removed in 8.0
      Running org.apache.avro.io.parsing.TestResolvingGrammarGenerator
      Tests run: 32, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.431 sec - in org.apache.avro.io.parsing.TestResolvingGrammarGenerator
      OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=200m; support was removed in 8.0
      Running org.apache.avro.io.parsing.TestResolvingGrammarGenerator2
      Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.341 sec - in org.apache.avro.io.parsing.TestResolvingGrammarGenerator2
      OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=200m; support was removed in 8.0
      Running org.apache.avro.io.TestResolvingIOResolving
      Tests run: 192, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.575 sec - in org.apache.avro.io.TestResolvingIOResolving
      

        Attachments

        1. AVRO-1835-2016-04-27.patch
          1 kB
          Niels Basjes
        2. AVRO-1835-2016-04-25.patch
          0.5 kB
          Niels Basjes

          Activity

            People

            • Assignee:
              nielsbasjes Niels Basjes
              Reporter:
              nielsbasjes Niels Basjes
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: