[m-dev.] the compiler can't bootstrap in Java

Julien Fischer jfischer at opturion.com
Fri Jul 12 17:56:01 AEST 2024


On Fri, 12 Jul 2024 at 17:52, Peter Wang <novalazy at gmail.com> wrote:
>
> On Fri, 12 Jul 2024 17:35:29 +1000 Julien Fischer <jfischer at opturion.com> wrote:
> > On Fri, 12 Jul 2024 at 17:25, Zoltan Somogyi <zoltan.somogyi at runbox.com> wrote:
> > >
> > >
> > >
> > > On Fri, 12 Jul 2024 17:17:14 +1000, Julien Fischer <jfischer at opturion.com> wrote:
> > >
> > > > On Fri, 12 Jul 2024 at 16:43, Peter Wang <novalazy at gmail.com> wrote:
> > > > >
> > > > > I manually edited Mercury/javas/jmercury/libs__options.java.
> > > > > It looks like if we break up the first "static" block (currently 8486
> > > > > lines long), that is enough to get through libs__options.java.
> > >
> > > Sorry, I don't understand. I see lots of things in that file for which
> > > "static" block would be a fair description; which did you have in mind,
> > > and how did you break it up?
> >
> > Presumably, Peter means the one that starts on around line 789,
>
> That's the one. I forgot what it's called, it's a
> "static initialization block".

Right, and I think the issue is that for most such blocks we generate
we chunk the output
in order to avoid the size limit, however
mlds_to_java_global.output_rtti_assignments_for_java
does *not* doing such chunking.

Julien.


More information about the developers mailing list