Skip to content

Capture source language for Scala 3 #2117

@kanderson250

Description

@kanderson250

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.

Metadata

Metadata

Assignees

Labels

oct-dec qtrRepresents proposed work item for the Oct-Dec quarter

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions