[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1031452: [Pkg-javascript-devel] Bug#1031452: *: FTBFS: java.util.MissingResourceException: Can't find bundle for base name com.google.javascript.rhino.head.resources.Messages, locale en



Quoting Yadd (2023-02-17 08:21:59)
> Control: reassign -1 closure-compiler
> 
> On 2/17/23 10:49, Lucas Nussbaum wrote:
> >> java.util.MissingResourceException: Can't find bundle for base name com.google.javascript.rhino.head.resources.Messages, locale en
> >>      at java.base/java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:2045)
> >>      at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1683)
> >>      at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1586)
> >>      at java.base/java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:1549)
> >>      at java.base/java.util.ResourceBundle.getBundle(ResourceBundle.java:932)
> >>      at com.google.javascript.rhino.head.ScriptRuntime$DefaultMessageProvider.getMessage(ScriptRuntime.java:4521)
> >>      at com.google.javascript.rhino.head.ScriptRuntime.getMessage(ScriptRuntime.java:4501)
> >>      at com.google.javascript.rhino.head.ScriptRuntime.getMessage0(ScriptRuntime.java:4446)
> >>      at com.google.javascript.jscomp.RhinoErrorReporter.<init>(RhinoErrorReporter.java:84)
> >>      at com.google.javascript.jscomp.RhinoErrorReporter.<init>(RhinoErrorReporter.java:32)
> >>      at com.google.javascript.jscomp.RhinoErrorReporter$OldRhinoErrorReporter.<init>(RhinoErrorReporter.java:162)
> >>      at com.google.javascript.jscomp.RhinoErrorReporter$OldRhinoErrorReporter.<init>(RhinoErrorReporter.java:158)
> >>      at com.google.javascript.jscomp.RhinoErrorReporter.forOldRhino(RhinoErrorReporter.java:119)
> >>      at com.google.javascript.jscomp.Compiler.<init>(Compiler.java:176)
> >>      at com.google.javascript.jscomp.CommandLineRunner.createCompiler(CommandLineRunner.java:858)
> >>      at com.google.javascript.jscomp.AbstractCommandLineRunner.doRun(AbstractCommandLineRunner.java:741)
> >>      at com.google.javascript.jscomp.AbstractCommandLineRunner.run(AbstractCommandLineRunner.java:380)
> >>      at com.google.javascript.jscomp.CommandLineRunner.main(CommandLineRunner.java:980)
> 
> Same error displayed on 4 packages using closure-compiler, looks like a 
> bug in closure-compiler itself

closure-compiler is known for years to be heavily outdated.

Unless those tools depend on *specific* features of closure-compiler
(e.g. some ancient form of what is nowadays called "tree-shaking"),
then I strongly recommend to patch those tools to instead use uglifyjs.

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/
 * Sponsorship: https://ko-fi.com/drjones

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature


Reply to: