rpau / javalang-compiler

Java compiler elements (symbol and type tables) to perform code semantic analysis
GNU Lesser General Public License v3.0
10 stars 4 forks source link

Bug on if assignments #8

Closed rpau closed 8 years ago

rpau commented 8 years ago

java.lang.RuntimeException: Ops! Error discovering the type of (messageKey = decodeMessage(callCtx))

public static void getMessageKeyInto(WebAppCallContext callCtx, URLParameter up) {
    LocaleText messageKey;

    if (!(messageKey = decodeMessage(callCtx)).isNull()) {
        up.setMessageKey(messageKey);
    }
}

Or

java.lang.RuntimeException: Ops! Error discovering the type of (externalMimeType = typeManager.getExternalMimeType(pixelObj.getMimeType()))

   // avoid multiple server calls
    MimeType externalMimeType = null;

  if (pixelObj.getType().equals(params.getFileconversion())
            || (externalMimeType = typeManager.getExternalMimeType(pixelObj.getMimeType())).toString()
                    .equals(params.getFileconversion())) {

...

rpau commented 8 years ago

Fixed at 2.2.8