Eyez0nly / omeglespy-z

Automatically exported from code.google.com/p/omeglespy-z
0 stars 0 forks source link

Compiling to JSR14 during maven build results in erasure of Enum types. #26

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
As the summary says.

The compilation completes successfully. However, during event interpretation, 
the application throws java.lang.IllegalArgumentException, claiming that 
OmegleEventType is not an Enum.

I found a similar issue at 
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6333999. However, since the 
reporter was unable to provide adequate substantiation, the bug was closed.

Here are the possible relevant factors:

- Compiling to JSR14 compatible byte code.
- 64 bit host system with 64 bit JVM.
- Using openJDK 6 JVM.

I'm not going to dig too deeply into the why's and wherefore's since switching 
my compile target to 1.5 "fixes" the issue, and not many people interested in 
this app are still using a 1.4 JVM.

Original issue reported on code.google.com by darkimp...@gmail.com on 27 Apr 2012 at 1:42

GoogleCodeExporter commented 9 years ago

Original comment by darkimp...@gmail.com on 27 Apr 2012 at 2:43