[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: java dependency substvars and native compilation



Matthew Johnson writes:
 >  Ideally
 > I'd write (not in bash) a real byte-code parser which can find the class
 > references properly.

 $ jcf-dump --print-constants java.lang.Object | grep 'Class name:'
#2: Class name: 1="java/lang/Object"
#8: Class name: 7="java/lang/Throwable"
#18: Class name: 17="java/lang/InterruptedException"
#26: Class name: 25="java/lang/StringBuffer"
#32: Class name: 31="java/lang/Class"
#46: Class name: 45="java/lang/Integer"
#59: Class name: 58="java/lang/CloneNotSupportedException"
#63: Class name: 62="java/lang/NoSuchMethodError"

-- 
Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK
Registered in England and Wales No. 3798903



Reply to: