Skip to content

Commit

Permalink
Reproducer of raphw/byte-buddy#1732
Browse files Browse the repository at this point in the history
  • Loading branch information
Justinas Dabravolskas committed Dec 8, 2024
1 parent 9b09e25 commit b2a2581
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Running App with -Xcomp flag on Java 18-23 causes "impossible" exception in ByteBuddy.
This exception can happen just with non executed default branch of switch statement.

Original discussion in https://github.com/raphw/byte-buddy/issues/1732
`Exception in thread "main" java.lang.IllegalStateException: Field POOL_NORMAL defines an incompatible default value 0
at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ValidatingClassVisitor.visitField(TypeWriter.java:2535)
at net.bytebuddy.dynamic.scaffold.TypeWriter$Default$ForInlining$WithFullProcessing$RedefinitionClassVisitor.onVisitField(TypeWriter.java:5164)
Expand Down

0 comments on commit b2a2581

Please sign in to comment.