Link Search Menu Expand Document

Rhino 1.7.9

Table of contents

  1. #398
  2. #383
  3. Finally, there are a number of other fixes.

This release fixes a potential ArrayIndexOutOfBoundsException that was introduced in 1.7.8. Since it’s potentially pretty serious, projects currently using 1.7.8 should switch to this new release.

In addition:

#398

There is a new flag on Context called “FEATURE_INTEGER_WITHOUT_DECIMAL_PLACE.” If set, Rhino will work harder to display numbers in integer form rather than in floating-point form. This feature is currently disabled by default, although if it proves popular than we can consider enabling it in the future.

#383

At language level “ES6” and above, ToNumber conversion is now more compliant to the spec. (This change is disabled for older language levels to prevent a problem with backward compatibility.)

Finally, there are a number of other fixes.

Thanks to all who contributed, both with issues and with code!

Attila Szegedi:

  • Fix a JavaDoc warning

Ivan Vyshnevskyi:

  • Make ToNumber(String) conversion more spec-compliant
  • Report parsing error for default values in destructuring assignments

Michael[tm] Smith:

  • Add addError(String messageId, int c) method
  • Add “illegal character” test to ParserTest
  • Show word in “identifier is a reserved word” error
  • Add “identifier is a reserved word” test

Oleksandr Maksymenko:

  • changes to process integer object as integer and long as long, not as double

RBRi:

  • cleanup the code an try to make it faster #373

jhertel:

  • Correction: Compatability → Compatibility