qykings / protoc-gen-as3

Automatically exported from code.google.com/p/protoc-gen-as3
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

AssertionError(String, Throwable) is Java 7 only #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In com.netease.protocGenAs3.Main.java, there are a couple AssertionErrors that 
are thrown with both a String and an Exception. The AssertionError(String, 
Throwable) constructor is not available in Java 6 and below.

Removing the exception argument will allow compilation on Java6 and earlier.

Original issue reported on code.google.com by tconkl...@gmail.com on 16 Jan 2013 at 11:13

GoogleCodeExporter commented 9 years ago
Fixed at revision 0ceebc3cd8a6

Original comment by pop.atry@gmail.com on 17 Jan 2013 at 5:09