Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
This fixes the 'Unknown url shema' error in the FindBugs plugin.

Before JENKINS-15120, we used to faithfully recreate the expected
resource path in a temporary resource file. For some reasons, we lost
that. This change brings it back by recreting the directory structure.

Note that this change doesn't address
"java.lang.IncompatibleClassChangeError: Implementing class" error
reported also in JENKINS-18405. That is still under investigation.
  • Loading branch information
kohsuke committed Jun 26, 2013
1 parent b2836fc commit 781ccae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/hudson/remoting/ResourceImageDirect.java
Expand Up @@ -37,7 +37,7 @@ Future<byte[]> resolve(Channel channel, String resourcePath) throws IOException,

@Override
Future<URLish> resolveURL(Channel channel, String resourcePath) throws IOException, InterruptedException {
return new AsyncFutureImpl<URLish>(URLish.from(makeResource(getBaseName(resourcePath), payload)));
return new AsyncFutureImpl<URLish>(URLish.from(makeResource(resourcePath, payload)));
}

private static final Logger LOGGER = Logger.getLogger(ResourceImageDirect.class.getName());
Expand Down

0 comments on commit 781ccae

Please sign in to comment.