Skip to content

Commit 4b21ae6

Browse files
committed
GH-548 nashorn library added as module for JDK 15+
1 parent f5bf802 commit 4b21ae6

File tree

12 files changed

+525
-0
lines changed

12 files changed

+525
-0
lines changed

visualvm/nashorn.jdk15/build.xml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- You may freely edit this file. See harness/README in the NetBeans platform -->
3+
<!-- for some information on what you could do (e.g. targets to override). -->
4+
<!-- If you delete this file and reopen the project it will be recreated. -->
5+
<project name="org.graalvm.visualvm.modules.nashorn.jdk15" default="netbeans" basedir=".">
6+
<description>Builds, tests, and runs the project org.graalvm.visualvm.modules.nashorn.jdk15.</description>
7+
<import file="nbproject/build-impl.xml"/>
8+
<target name="download-all-extbins" unless="ext.binaries.downloaded" depends="init">
9+
<echo>Downloading external binaries (external/ directory)...</echo>
10+
<property name="binaries.cache" location="${user.home}/.hgexternalcache"/>
11+
<property name="binaries.server" value="https://netbeans.osuosl.org/binaries/"/>
12+
<downloadbinaries cache="${binaries.cache}" server="${binaries.server}" >
13+
<manifest dir=".">
14+
<include name="external/binaries-list"/>
15+
</manifest>
16+
</downloadbinaries>
17+
<property name="ext.binaries.downloaded" value="true"/>
18+
</target>
19+
20+
<target name="-pre-compile" depends="download-all-extbins">
21+
</target>
22+
23+
<target name="-pre-release" depends="compile">
24+
<taskdef name="releasefilescopy" classname="org.netbeans.nbbuild.extlibs.ReleaseFilesCopy" classpath="${harness.dir}/tasks.jar"/>
25+
<releasefilescopy cluster="${cluster}"/>
26+
</target>
27+
28+
<target name="-release.files" depends="projectized-common.-release.files">
29+
<taskdef name="releasefilesextra" classname="org.netbeans.nbbuild.extlibs.ReleaseFilesExtra" classpath="${harness.dir}/tasks.jar"/>
30+
<releasefilesextra property="release.files.extra"/>
31+
</target>
32+
33+
<target name="-pre-nbm" depends="compile">
34+
<property name="license.file.override" location="${build.dir}/license"/>
35+
<property name="extra.license.files" value=""/>
36+
<taskdef name="releasefileslicense" classname="org.netbeans.nbbuild.extlibs.ReleaseFilesLicense" classpath="${harness.dir}/tasks.jar"/>
37+
<releasefileslicense license="${license.file.override}" standardlicense="${license.file}" extralicensefiles="${extra.license.files}"/>
38+
</target>
39+
</project>
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
Name: OW2 ASM
2+
Version: 9.5
3+
Files: asm-util-9.5.jar
4+
License: BSD-INRIA
5+
Origin: OW2 Consortium
6+
URL: https://repository.ow2.org/nexus/content/repositories/releases/org/ow2/asm/
7+
Description: Bytecode manipulation library
8+
9+
*******************************************************************************
10+
* ASM: a very small and fast Java bytecode manipulation framework
11+
* Copyright (c) 2000-2011 INRIA, France Telecom
12+
* All rights reserved.
13+
*
14+
* Redistribution and use in source and binary forms, with or without
15+
* modification, are permitted provided that the following conditions
16+
* are met:
17+
* 1. Redistributions of source code must retain the above copyright
18+
* notice, this list of conditions and the following disclaimer.
19+
* 2. Redistributions in binary form must reproduce the above copyright
20+
* notice, this list of conditions and the following disclaimer in the
21+
* documentation and/or other materials provided with the distribution.
22+
* 3. Neither the name of the copyright holders nor the names of its
23+
* contributors may be used to endorse or promote products derived from
24+
* this software without specific prior written permission.
25+
*
26+
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
27+
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
28+
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
29+
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
30+
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
31+
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
32+
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
33+
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
34+
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
35+
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
36+
* THE POSSIBILITY OF SUCH DAMAGE.
37+
*******************************************************************************
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
F67F5FFAA5F5130CF6FB9B133DA00C7DF3B532A5 org.openjdk.nashorn:nashorn-core:15.4
2+
64B5A1FC8C1B15ED2EFD6A063E976BC8D3DC5FFE org.ow2.asm:asm-util:9.5

0 commit comments

Comments
 (0)