How to submit a bug report

Luc Duponcheel luc.duponcheel at gmail.com
Fri Mar 29 10:47:03 PDT 2013


Hi All,

today I encountered (for the first time) a bug

the message

An exception has occurred in the compiler (1.8.0-ea). Please file a bug at
the Java Developer Connection (http://java.sun.com/webapps/bugreport)
after checking the Bug Parade for duplicates. Include your program and the
following diagnostic in your report.  Thank you.
java.lang.NullPointerException
    at com.sun.tools.javac.jvm.Code.emitop0(Code.java:538)
    ...

suggests me to go to http://java.sun.com/webapps/bugreport but this looks
like an official site (for official java versions up to version 7).

some more info about the bug (for those who are interested)

I try to implement some monad related stuff (from scratch).
I already successfully implemented code (not included in attachment) for
 o List
 o Option
 o Try (to deal with exceptions)
 o Stream (to deal with laziness)

Now I try to implement code (included in attachment) for
 o State

Implementing monadic binding (a.k.a flatMap) compiles fine.
Implementing monadic result (a.k.a. unit) produces a compiler error.

All comments are welcome.

Luc

-- 
   __~O
  -\ <,
(*)/ (*)

reality goes far beyond imagination


More information about the lambda-dev mailing list