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

Running tests using JDK 1.8 complains about MaxPermSize

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.8.0
    • 1.8.1
    • java
    • 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-25.patch
          0.5 kB
          Niels Basjes
        2. AVRO-1835-2016-04-27.patch
          1 kB
          Niels Basjes

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: