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


i'm using maven 3.2.3 on mac 10.9.5 , have 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 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" warning ...

java hotspot(tm) 64-bit server vm warning: ignoring option usesplitverifier; support removed in 8.0 

what java 8 equivalent of "usesplitverifier"?

there no equivalent. note option in configuration -usesplitverifier (note prepended minus) option says not use splitverifier starting java 8, splitverifier mandatory.

the splitverifier introduced java 6, being optional @ time , became default java 7. java 7, option still supported, turned off in case bytecode processing tool incompatible.

this meant provide grace period in these tools can updated compatible related stackmapframe bytecode attribute. grace period over.

if thing encounter warning, in other words, experience no compatibility problems, can remove option. otherwise, have update problematic tools/libraries.


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -