--- a/src/java.base/share/native/libjli/manifest_info.h Tue Feb 13 10:36:52 2018 +0100
+++ b/src/java.base/share/native/libjli/manifest_info.h Tue Feb 13 10:37:33 2018 +0100
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -27,6 +27,7 @@
#define _MANIFEST_INFO_H
#include <sys/types.h>
+#include "jni.h"
/*
* Zip file header signatures
@@ -186,6 +187,8 @@
void *JLI_JarUnpackFile(const char *jarfile, const char *filename,
int *size);
void JLI_FreeManifest(void);
+
+JNIEXPORT
int JLI_ManifestIterate(const char *jarfile, attribute_closure ac,
void *user_data);