Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Capture source language for Scala 3 #2117

Open
kanderson250 opened this issue Oct 31, 2024 · 1 comment
Open

Capture source language for Scala 3 #2117

kanderson250 opened this issue Oct 31, 2024 · 1 comment
Assignees
Labels
oct-dec qtr Represents proposed work item for the Oct-Dec quarter

Comments

@kanderson250
Copy link
Contributor

kanderson250 commented Oct 31, 2024

We generate a supportability metric showing a customer's source language and version. Currently for Scala, we detect the source language version from a method called versionNumberString in scala/util/Properties.

private static final String SCALA_VERSION_CLASS = "scala.util.Properties";

This is broken for Scala 3 because this class exists elsewhere in the Scala 3 source. It appears to have been moved here.

Modify the Source Library Detector to capture the source language version for Scala 3 as well as lower versions of Scala. Verify that the Supportability/SourceLanguage/* metric is generated for Scala 3 environments.

@workato-integration
Copy link

@kford-newrelic kford-newrelic added the oct-dec qtr Represents proposed work item for the Oct-Dec quarter label Nov 1, 2024
@kford-newrelic kford-newrelic moved this from Triage to In Quarter in Java Engineering Board Nov 1, 2024
@kanderson250 kanderson250 self-assigned this Dec 6, 2024
@kanderson250 kanderson250 moved this from In Quarter to In Sprint in Java Engineering Board Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
oct-dec qtr Represents proposed work item for the Oct-Dec quarter
Projects
Status: In Sprint
Development

No branches or pull requests

2 participants