Giter VIP home page Giter VIP logo

Comments (4)

OndrejSpanel avatar OndrejSpanel commented on June 17, 2024 1

I have a short scalac repro.

Two files are needed, Java and Scala, and rt.jar, which I have copied from scala-compile-server\jvm-rt\java9-rt-ext-eclipse_adoptium_21_0_3scala-compile-server\jvm-rt\java9-rt-ext-eclipse_adoptium_21_0_3. Java must be listed first in the command line, it must import javax.swing and scalac needs to use -release 11. Scala file must contain an error.

The command line for reproduction in the directory of clone of https://github.com/OndrejSpanel/PaintManagerException is:

scalac "-Dscala.ext.dirs=." -release 11 .\src\main\scala\File.java .\src\main\scala\Launcher.scala

Content of both source files:

File.java:

import javax.swing.*;

public class File {
}

Launcher.scala:

object Launcher {
  def main(args: Array[String]): Unit = {
    org.scala.intentional.error()
  }
}

from scala3.

OndrejSpanel avatar OndrejSpanel commented on June 17, 2024 1

Can someone take a look and decide how serious the issue is and what should be done with it? Creating minimal repro was a substantial effort and I would not like seeing it wasted.

from scala3.

Gedochao avatar Gedochao commented on June 17, 2024 1

Can someone take a look and decide how serious the issue is and what should be done with it? Creating minimal repro was a substantial effort and I would not like seeing it wasted.

@OndrejSpanel I'll make sure someone takes a look soon.

from scala3.

OndrejSpanel avatar OndrejSpanel commented on June 17, 2024

It seems rt.jar can be reduced to contain just a few classes, which I did and pushed. I am sure someone can take over now.

from scala3.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.