Java 8: What is the equivalent of "UseSplitVerifier"?

Dave A

I'm using Maven 3.2.3 on Mac 10.9.5 and have this for my compiler plugin ...

                                    <plugin>
                                            <groupId>org.apache.maven.plugins</groupId>
                                            <artifactId>maven-compiler-plugin</artifactId>
                                            <version>3.1</version>
                                            <configuration>
                                                    <source>1.8</source>
                                                    <target>1.8</target>
                                                    <compilerArgument>-proc:none</compilerArgument>
                                                    <fork>true</fork>
                                                    <!-- <compilerId>eclipse</compilerId>--> 
                                            </configuration>
                                            <executions>
                                                    <execution>
                                                            <id>default-testCompile</id>
                                                            <phase>test-compile</phase>
                                                            <goals>
                                                                    <goal>testCompile</goal>
                                                            </goals>
                                                    </execution>
                                            </executions>
                                    </plugin>

I have this for my surefire-plugin configuration ...

                    <plugin>
                            <groupId>org.apache.maven.plugins</groupId>
                            <artifactId>maven-surefire-plugin</artifactId>
                            <version>2.17</version>
                            <configuration>
                                    <reuseForks>true</reuseForks>
                                    <argLine>-Xmx2048m -XX:MaxPermSize=512M -XX:-UseSplitVerifier ${argLine}</argLine>
                                    <skipTests>${skipAllTests}</skipTests>
                            </configuration>
                    </plugin>

However, upon running "mvn clean install" I get this warning ...

Java HotSpot(TM) 64-Bit Server VM warning: ignoring option UseSplitVerifier; support was removed in 8.0

What is the Java 8 equivalent of "UseSplitVerifier"?

Holger

There is no equivalent. Note that the option in your configuration is -UseSplitVerifier (note the prepended minus) so the option says not to use the SplitVerifier but starting with Java 8, the SplitVerifier is mandatory.

The SplitVerifier was introduced with Java 6, being optional at that time and became the default with Java 7. But with Java 7, the option was still supported, so it could get turned off in case a bytecode processing tool was incompatible.

This was meant to provide a grace period in which these tools can get updated to be compatible with the related StackMapFrame bytecode attribute. That grace period is now over.

If the only thing you encounter is that warning, in other words, you experience no compatibility problems, you can just remove that option. Otherwise, you have to update the problematic tools/libraries.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

What is the java 8 equivalent to Guava's transformAndConcat?

From Dev

What is the Java 8 Stream API equivalent for LINQ Join?

From Dev

What is the equivalent way to do Ordering.lexicographical() in Java 8 Comparator?

From Dev

Equivalent of LINQ in Java 8

From Java

What is the Java equivalent for LINQ?

From Dev

What is the 'defer' equivalent for Java

From Dev

What is the equivalent of :: operator in java?

From Dev

What is the c# equivalent of Java 8 java.util.function.Consumer<>?

From Dev

Java 8 equivalent to getLineNumber() for Streams

From Dev

Java 8 and lambda calculus equivalent

From Dev

What is the Java equivalent of this Scala code?

From Dev

What is the equivalent of javascript setTimeout in Java?

From Dev

What is the equivalent of stringByFoldingWithOptions:locale: in Java?

From Dev

What is the equivalent of Java Object in Swift?

From Dev

What is the Python equivalent of RequestConfig in Java?

From Dev

What is the Java equivalent of this Haskell function?

From Dev

What is the equivalent of Java Scanner in Kotlin?

From Dev

What is the equivalent of stringByFoldingWithOptions:locale: in Java?

From Dev

What is the IPv6 equivalent for 127.0.0.0/8

From Dev

C# equivalent to Java 8 "method reference"

From Dev

Groovy equivalent for Java 8 Lambda Expression

From Dev

Java 8 equivalent of (RxJava) Observable#onComplete()

From Dev

Java 8 Lambdas - equivalent of c# OfType

From Dev

Is there a Java 8 equivalent of Python enumerate built-in?

From Dev

Java 8 Stream API equivalent of nested for loops

From Dev

Is there an equivalent of Scala's Either in Java 8?

From Dev

Scala equivalent of Java 8 :: (double colon) operator

From Dev

Equivalent of new Date().getTime() in Java 8

From Dev

C# equivalent to Java 8 "method reference"

Related Related

  1. 1

    What is the java 8 equivalent to Guava's transformAndConcat?

  2. 2

    What is the Java 8 Stream API equivalent for LINQ Join?

  3. 3

    What is the equivalent way to do Ordering.lexicographical() in Java 8 Comparator?

  4. 4

    Equivalent of LINQ in Java 8

  5. 5

    What is the Java equivalent for LINQ?

  6. 6

    What is the 'defer' equivalent for Java

  7. 7

    What is the equivalent of :: operator in java?

  8. 8

    What is the c# equivalent of Java 8 java.util.function.Consumer<>?

  9. 9

    Java 8 equivalent to getLineNumber() for Streams

  10. 10

    Java 8 and lambda calculus equivalent

  11. 11

    What is the Java equivalent of this Scala code?

  12. 12

    What is the equivalent of javascript setTimeout in Java?

  13. 13

    What is the equivalent of stringByFoldingWithOptions:locale: in Java?

  14. 14

    What is the equivalent of Java Object in Swift?

  15. 15

    What is the Python equivalent of RequestConfig in Java?

  16. 16

    What is the Java equivalent of this Haskell function?

  17. 17

    What is the equivalent of Java Scanner in Kotlin?

  18. 18

    What is the equivalent of stringByFoldingWithOptions:locale: in Java?

  19. 19

    What is the IPv6 equivalent for 127.0.0.0/8

  20. 20

    C# equivalent to Java 8 "method reference"

  21. 21

    Groovy equivalent for Java 8 Lambda Expression

  22. 22

    Java 8 equivalent of (RxJava) Observable#onComplete()

  23. 23

    Java 8 Lambdas - equivalent of c# OfType

  24. 24

    Is there a Java 8 equivalent of Python enumerate built-in?

  25. 25

    Java 8 Stream API equivalent of nested for loops

  26. 26

    Is there an equivalent of Scala's Either in Java 8?

  27. 27

    Scala equivalent of Java 8 :: (double colon) operator

  28. 28

    Equivalent of new Date().getTime() in Java 8

  29. 29

    C# equivalent to Java 8 "method reference"

HotTag

Archive