Comment #3 on issue 757 by [email protected]: Java 8 lambda definitions can
break Guice's internal exception handling
http://code.google.com/p/google-guice/issues/detail?id=757
Guice HEAD fails with a slightly different ASM error:
Exception in thread "main"
com.google.inject.internal.guava.collect.$ComputationException:
java.lang.IllegalArgumentException
at
com.google.inject.internal.guava.collect.$ComputingConcurrentHashMap$ComputingMapAdapter.get(ComputingConcurrentHashMap.java:397)
at
com.google.inject.internal.util.StackTraceElements.forMember(StackTraceElements.java:56)
at com.google.inject.internal.Errors.formatSource(Errors.java:703)
at com.google.inject.internal.Errors.format(Errors.java:568)
at
com.google.inject.ProvisionException.getMessage(ProvisionException.java:61)
at java.lang.Throwable.getLocalizedMessage(Throwable.java:391)
at java.lang.Throwable.toString(Throwable.java:480)
at java.lang.String.valueOf(String.java:2985)
at java.io.PrintStream.println(PrintStream.java:821)
at java.lang.Throwable$WrappedPrintStream.println(Throwable.java:748)
at java.lang.Throwable.printStackTrace(Throwable.java:655)
at java.lang.Throwable.printStackTrace(Throwable.java:643)
at java.lang.Throwable.printStackTrace(Throwable.java:634)
at Java8LambdaIssue.main(Java8LambdaIssue.java:16)
Caused by: java.lang.IllegalArgumentException
at com.google.inject.internal.asm.$ClassReader.<init>(Unknown Source)
at com.google.inject.internal.asm.$ClassReader.<init>(Unknown Source)
at com.google.inject.internal.asm.$ClassReader.<init>(Unknown Source)
at
com.google.inject.internal.util.LineNumbers.<init>(LineNumbers.java:65)
at
com.google.inject.internal.util.StackTraceElements$1.apply(StackTraceElements.java:39)
at
com.google.inject.internal.util.StackTraceElements$1.apply(StackTraceElements.java:36)
at
com.google.inject.internal.guava.collect.$ComputingConcurrentHashMap$ComputingValueReference.compute(ComputingConcurrentHashMap.java:355)
at
com.google.inject.internal.guava.collect.$ComputingConcurrentHashMap$ComputingSegment.compute(ComputingConcurrentHashMap.java:184)
at
com.google.inject.internal.guava.collect.$ComputingConcurrentHashMap$ComputingSegment.getOrCompute(ComputingConcurrentHashMap.java:153)
at
com.google.inject.internal.guava.collect.$ComputingConcurrentHashMap.getOrCompute(ComputingConcurrentHashMap.java:69)
at
com.google.inject.internal.guava.collect.$ComputingConcurrentHashMap$ComputingMapAdapter.get(ComputingConcurrentHashMap.java:393)
... 13 more
Which might be because Java8 is still a moving target... I haven't tried
pulling in the ASM 5 alpha build.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"google-guice-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-guice-dev.
For more options, visit https://groups.google.com/groups/opt_out.