diff --git a/changelog.html b/changelog.html
index 29d4d219d7..6dcae8d1a0 100644
--- a/changelog.html
+++ b/changelog.html
@@ -75,8 +75,14 @@ Upcoming changes
+
+ -
+ UnsatisfiedLinkError on CreateSymbolicLinkw on Windows XP.
+ (issue 17343)
-
Flyweight tasks should execute on the master if there's no static
executors available.
@@ -94,7 +100,6 @@ Upcoming changes
Context menu no longer automatically pops up
(issue 13995)
-
-
diff --git a/core/src/main/java/hudson/Util.java b/core/src/main/java/hudson/Util.java
index 64b6374cc4..68d0e2178b 100644
--- a/core/src/main/java/hudson/Util.java
+++ b/core/src/main/java/hudson/Util.java
@@ -1065,6 +1065,9 @@ public class Util {
return;
}
throw e;
+ } catch (UnsatisfiedLinkError e) {
+ // not available on this Windows
+ return;
}
} else {
String errmsg = "";
diff --git a/core/src/main/java/hudson/util/jna/Kernel32Utils.java b/core/src/main/java/hudson/util/jna/Kernel32Utils.java
index ee76e82d7e..4a3365b581 100644
--- a/core/src/main/java/hudson/util/jna/Kernel32Utils.java
+++ b/core/src/main/java/hudson/util/jna/Kernel32Utils.java
@@ -80,6 +80,10 @@ public class Kernel32Utils {
* @param target
* If relative, resolved against the location of the symlink.
* If absolute, it's absolute.
+ * @throws UnsatisfiedLinkError
+ * If the function is not exported by kernel32.
+ * See http://msdn.microsoft.com/en-us/library/windows/desktop/aa363866(v=vs.85).aspx
+ * for compatibility info.
*/
public static void createSymbolicLink(File symlink, String target, boolean dirLink) throws IOException {
if (!Kernel32.INSTANCE.CreateSymbolicLinkW(
diff --git a/debian/debian/changelog b/debian/debian/changelog
index cf8c93d1e2..2da8fc6fc9 100644
--- a/debian/debian/changelog
+++ b/debian/debian/changelog
@@ -1,3 +1,9 @@
+jenkins (1.510) unstable; urgency=low
+
+ * See http://jenkins-ci.org/changelog for more details.
+
+ -- Kohsuke Kawaguchi Sat, 06 Apr 2013 18:45:19 -0700
+
jenkins (1.509) unstable; urgency=low
* See http://jenkins-ci.org/changelog for more details.