File tree Expand file tree Collapse file tree 3 files changed +11
-4
lines changed
Expand file tree Collapse file tree 3 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ Jython links the following libraries:
3535* Mock Runner, licensed under the Apache 1.1 license
3636* Netty 4, licensed under the Apache 2.0 license from the Netty project
3737* PyPy datetime module, licensed under the MIT License from the PyPy project
38+ * Java sizeof, licensed under the Apache 2.0 License from the Apache Software Foundation
3839
3940Jython follows closely the Python language and its reference
4041implementation CPython, as created by Guido van Rossum.
Original file line number Diff line number Diff line change @@ -583,8 +583,10 @@ The readme text for the next release will be like:
583583 <rule pattern =" io.netty.**" result =" org.python.netty.@1" />
584584 <zipfileset src =" extlibs/netty-transport-4.0.33.Final.jar" excludes =" META-INF/**" />
585585 <rule pattern =" io.netty.**" result =" org.python.netty.@1" />
586- <!-- these stub jars are pre-built in https://github.com/jnr/jffi/tree/master/archive
587- and rarely if ever change -->
586+ <zipfileset src =" ${ extlibs.dir } /java-sizeof-0.0.5.jar" />
587+ <rule pattern =" com.carrotsearch.sizeof.**" result =" org.python.sizeof.@1" />
588+ <!-- these stub jars are pre-built in https://github.com/jnr/jffi/tree/master/archive
589+ and rarely if ever change -->
588590 <zipfileset src =" extlibs/jffi-arm-Linux.jar" />
589591 <zipfileset src =" extlibs/jffi-Darwin.jar" />
590592 <zipfileset src =" extlibs/jffi-i386-FreeBSD.jar" />
@@ -605,7 +607,6 @@ The readme text for the next release will be like:
605607 <zipfileset src =" extlibs/jffi-x86_64-Windows.jar" />
606608 <!-- remainder of JNR, JFFI -->
607609 <zipfileset src =" extlibs/jffi-1.2.10.jar" />
608- <zipfileset src =" ${ extlibs.dir } /java-sizeof-0.0.5.jar" />
609610 <zipfileset src =" ${ extlibs.dir } /jnr-ffi-2.0.7.jar" />
610611 <zipfileset src =" ${ extlibs.dir } /jnr-netdb-1.1.5.jar" />
611612 <zipfileset src =" ${ extlibs.dir } /jnr-posix-3.0.23.jar" />
Original file line number Diff line number Diff line change 11package org .python .modules ;
22
3- import java .util .*;
3+ import java .util .Set ;
4+ import java .util .List ;
5+ import java .util .LinkedList ;
6+ import java .util .ArrayList ;
7+ import java .util .IdentityHashMap ;
8+ import java .util .HashSet ;
49import java .util .concurrent .atomic .AtomicBoolean ;
510import java .lang .ref .Reference ;
611import java .lang .ref .ReferenceQueue ;
You can’t perform that action at this time.
0 commit comments