Skip to content

replace deprecated method no longer needed in Java 7+#26

Merged
elharo merged 5 commits intomasterfrom
copy
Dec 10, 2020
Merged

replace deprecated method no longer needed in Java 7+#26
elharo merged 5 commits intomasterfrom
copy

Conversation

@elharo
Copy link
Copy Markdown
Contributor

@elharo elharo commented Nov 27, 2020

@elharo elharo merged commit d2a13b7 into master Dec 10, 2020
@elharo elharo deleted the copy branch December 10, 2020 13:19
@mabrarov
Copy link
Copy Markdown
Contributor

mabrarov commented Dec 20, 2020

@elharo and @hboutemy,

It feels like this PR has introduced a bug. Please checkout merge commit of this PR and execute integration tests.

createParentIfNecessary( destinationFile );
Files.copy( sourceFile.toPath(), destinationFile.toPath(),
LinkOption.NOFOLLOW_LINKS, StandardCopyOption.REPLACE_EXISTING );
if ( module.changeManifestClasspath() && ( skinnyWars || module.getLibDir() == null ) )
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

This line looks to be modified by mistake. It should remain:

if ( module.changeManifestClasspath() )

Copy link
Copy Markdown
Contributor

@mabrarov mabrarov Dec 20, 2020

Choose a reason for hiding this comment

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

I opened MEAR-293 bug for this issue.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Refer to pull request #30 for the fix of this bug.

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.

2 participants