Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat(stackable-operator): Add a utility for creating Java runtime arguments #839

Open
Assignees

Description

idea (non-blocker): we could have a utility type for making properties. It might make this a little easier for humans to parse.

Originally posted by @NickLarsenNZ in stackabletech/spark-k8s-operator#451 (comment)

Maybe we already have something available, but this helps close the comment on the linked PR so it can be merged.

I'm thinking something like:

pub struct Properties(BTreeMap);
impl Display for JreProperties {
 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
 todo!("iterate over the properties in self.0 and make -Dproperty=value joined by space");
 // write!(f, "{}", self.0)
 }
}
impl DerefMut for Properties {
 ...
}

See: https://docs.oracle.com/javase/8/docs/technotes/tools/windows/java.html#BABDJJFI

Metadata

Metadata

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /