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

ObjectStoreEnvironmentBean.getObjectStore should not cache the user.home during build-time #6555

Merged
merged 1 commit into from
Jan 15, 2020

Conversation

gastaldi
Copy link
Contributor

Fixes #6553

*/
@Substitute
public String getObjectStoreDir() {
return System.getProperty("user.home") + File.separator + "ObjectStore";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are we sure this won't be cache this at build time?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you afraid that the System.getProperty("user.home") is cached at build time?

@gastaldi
Copy link
Contributor Author

gastaldi commented Jan 14, 2020 via email

@gastaldi
Copy link
Contributor Author

gastaldi commented Jan 15, 2020 via email

@geoand
Copy link
Contributor

geoand commented Jan 15, 2020

@gastaldi I assume you tried the STM quickstart with this fix?

@gastaldi
Copy link
Contributor Author

Of course, otherwise I wouldn't even bother opening it 😃

@geoand
Copy link
Contributor

geoand commented Jan 15, 2020

Of course, otherwise I wouldn't even bother opening it smiley

Just making sure :)

@geoand
Copy link
Contributor

geoand commented Jan 15, 2020

@cescoffier up to you 😉

@gsmet gsmet merged commit da449b9 into quarkusio:master Jan 15, 2020
@gsmet gsmet added this to the 1.2.0 milestone Jan 15, 2020
@cescoffier
Copy link
Member

With this merged we can re-enable the STM module in the quickstart CI thingy quarkusio/quarkus-quickstarts#420

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

STM - File System Exception
4 participants