[windup-dev] BCEL, then ASM? /// Re: Opening two streams for .class

Ondrej Zizka ozizka at redhat.com
Mon Oct 19 20:50:14 EDT 2015


Also, there's BCEL, then ASM parsing of .class.
Are they complements? Can't one do it all?

Ondra



On 20.10.2015 02:48, Ondrej Zizka wrote:
> ClassFilePreDecompilationScan:
>
>               try (InputStream is = fileModel.asInputStream())
>               {
>                   addClassFileMetadata(event, context, fileModel);
>
> This is opening the stream twice; shouldn't it be rather this?
>
>               addClassFileMetadata(event, context, fileModel);
>               try (InputStream is = fileModel.asInputStream())
>               {
>
> Ondra
> _______________________________________________
> windup-dev mailing list
> windup-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/windup-dev



More information about the windup-dev mailing list