ExE Boss

Results 250 comments of ExE Boss

Now that [**JSpecify** 1.0](https://github.com/jspecify/jspecify/releases/tag/v1.0.0) has been released, this is probably more important than ever.

@jkrems `import.meta.main` will simply be `undefined` in the browser. The build step is about removing `if (import.meta.main) { … }` if statements in bundled modules that are not the entry ...

I noticed that the native implementation of `Unsafe​::array⁠(BaseOffset​/IndexScale)` refers to the non‑existent class `java.lang.InvalidClassException` instead of `java.lang.IllegalArgumentException` (which results in `java.lang.NoClassDefFoundError` being thrown): https://github.com/openjdk/jdk/blob/1ca008fd02496dc33e2707c102560cae1690fba5/src/hotspot/share/prims/unsafe.cpp#L587-L594

I think it might be a good idea to also have `equalsSymbol(…)` methods for the other pool entries.

@nicolo-ribaudo You apparently need to update test snapshots for `e2e/__tests__/nativeEsm.test.ts`: e2e/__tests__/nativeEsm.test.ts and snapshots

You can use [Triple‑Slash Directives](https://www.typescriptlang.org/docs/handbook/triple-slash-directives.html#-reference-types-) to achieve this: ```ts /// ```

I personally prefer [pnpm](https://pnpm.js.org), which uses symbolic links to ensure that your package can only access what’s declared in `package.json`. This makes using `"types": ["node"]` redundant.

I tried this in , but it failed because **TypeScript** doesn’t support `var`‑like classes (see )

> this will likely take a while until it is supported. `value` is no traditional keyword, it is context sensitive and would get recognized as such using javac after the...

## Re **CSR**: ````diff diff -U 3 a/JDK‑8372338.md b/JDK‑8372338.md --- a/JDK‑8372338.md +++ b/JDK‑8372338.md @@ -15,7 +15,7 @@ Solution -------- -This change adds threw new methods to support efficient handling of...