André Bargull

Results 83 issues of André Bargull

Multiple `OptionHandler` sub-classes use `Parameters#getParameter(...)` with `-1` as the index parameter, e.g. [`EnumOptionHandler`](https://github.com/kohsuke/args4j/blob/9d8c90bd0edcf4be12d380555087a7703be6416b/args4j/src/org/kohsuke/args4j/spi/EnumOptionHandler.java#L35). This approach does not work when the "key=value" syntax is used, see [`splitToken()`](https://github.com/kohsuke/args4j/blob/9d8c90bd0edcf4be12d380555087a7703be6416b/args4j/src/org/kohsuke/args4j/CmdLineParser.java#L471-L478) in `CmdLineParser.CmdLineImpl` for why...

`OptionHandler#getMetaVariable(...)` uses the default meta variable as a resource bundle key, see [lines 79-80](https://github.com/kohsuke/args4j/blob/9d8c90bd0edcf4be12d380555087a7703be6416b/args4j/src/org/kohsuke/args4j/spi/OptionHandler.java#L79-L80). This is somewhat unlikely to be the correct choice, I'd rather expect that the default meta...

[ResourceBundle#getString(String)](http://docs.oracle.com/javase/8/docs/api/java/util/ResourceBundle.html#getString-java.lang.String-) never returns `null`, so [this code](https://github.com/kohsuke/args4j/blob/9d8c90bd0edcf4be12d380555087a7703be6416b/args4j/src/org/kohsuke/args4j/spi/OptionHandler.java#L84-L86) in `OptionHandler#getMetaVariable(...)` should be changed to use [ResourceBundle#containsKey(String)](http://docs.oracle.com/javase/8/docs/api/java/util/ResourceBundle.html#containsKey-java.lang.String-).

was filed yesterday against SpiderMonkey, based on the benchmark results at . When investigating why SpiderMonkey was so bad at this particular benchmark, it turned out that the abysmal performance...

bug
Core/Wasm

[spidermonkey/get-latest-version.js](https://github.com/GoogleChromeLabs/jsvu/blob/master/engines/spidermonkey/get-latest-version.js) currently only supports Beta builds, but it should also be possible to download Nightly builds: - Nightly binaries are available at . - The build-id can either be retrieved...

enhancement
help wanted
good first issue

Also see: https://github.com/tc39/ecma262/pull/2844

Temporal tests written for the SpiderMonkey implementation. Mostly covers edge cases around mathematical operations and regression tests for reported spec bugs.

CompareTypedArrayElements still contains the detached buffer check which has been removed in .

spec

`"a".substr(0, Infinity)` should return `"a"`, but #2007 incorrectly changed the result to be `""`. If we change `substr`'s algorithm to be more similar to `String.prototype.substring` and `String.prototype.slice`, we can easily...

normative change
spec bug

refs: #815, #889, #891 Per the current spec semantics: ```js function f(a = () => arguments) { print(arguments); // Print [object Arguments] print(a()); // Print [object Arguments] { function arguments()...