How to decompile new class specification

Hello:
I tried to decompile some class files that I compiled with jdk1.6, however I got a problem, since it seems that class specification have changed. I tried jdec, jad, jode, cavaj, jreverse, jcavaj, and none of them has been updated to support the new specification (49 and/or 50), so I'd like to know if somebody of you know about any updated decompiler.
Thanks

To analyze Java Bytecode I have developed my own tool that is written in pure C++. It does not depend of JDK version and Java provider. This is not a decompiler but only a bytecode viewer, which can show Java Bytecode as a tree with with raw data.

Similar Messages

  • How to add new class to existing DC (Web Dynpro project)

    Hi,
    How can I add new class to an existing DC (Web Dynpro project)?
    I tried adding it using File - New - Other - Java - Class, but after a build of the DC the new class (and its contents    ) was completely removed.
    Then I created a new DC (java project) and created a new class in that DC. This went fine, but I got into problems because of circular referencing between the new & the old DC, so no build was possible.
    This can't be difficult, does somebody knows how to do it?
    My temporary solution is to add the classdefinition to an exisiting .java file. Very ugly.
    Thanks,
    Jeroen

    Hi Jeroen,
    where did you create the class? If the *.java file is placed in the src/packages folder it should not be deleted by a build. (I suspect you created it in the gen_wdp folder?)
    Regards,
    Marc

  • How to add new class in modified template...

    Finally I have encourage myself to scratch to (for me deepest darkwood) templates...
    I have modified original Theme 2 to My theme 2 and added in some tempaltes region my parts-looks promising.
    Now I want to create sidebar region that is 450 px wide.
    It should be the same sidebar region but with different width!
    I saw on file system that there is .css so I add this class in it....(as aspected) it is not shown in template class list...
    I am able to apply that new class to template, but I cannot see that class in "Template Class" LOV (in Edit Region Template form).
    Is that important and could this bee seen in that list?
    THX!

    I have now working template with my new class...
    What is still bothering me is that I have editeted "theme_V2.css" file. I'm plannig to put my app on hosted WEB site in Germany, where this file will not be the same as is on my server.
    How to achieve future compatibilty according this?
    THX!

  • Report Painter: How to add new(customer specific) field to CCSS table

    Dear Experts,
    We have requirement to display the orders based on Profit center or Profit center groups in report painter. So in report library(6O1), we want to add fieild PRCTR or any customer specific field(ZPRCTR) to CCSS table. Could you please let us know how to add field ?
    or is possible to add customer specific field(ZPRCTR) in CCSS and link that field to Profit Cetner(PRCTR) and profit center group.
    Please help us..
    Thanks in advance

    You can check the below OSS notes:-
    <https://service.sap.com/sap/support/notes/929889>
    <https://service.sap.com/sap/support/notes/522581>
    <https://service.sap.com/sap/support/notes/43493>
    Regards,
    Gaurav

  • How to decompile a .class file into .java file using DEJDecompiler?

    Hi all,
    I am using DeJDecompiler and working with swing applications.If I try to convert a .class file into .java file,it is converting into .jad file only.Fine but if I try to save that file into .java file,It is giving lot of errors in that program.When I went into that program the total style of the program is changed and TRY-CATCH block is not recognised by the dejdecompiler,hence If I try to include some methods in the existing .java file thus got,I could not do.Kindly help me.
    If I get the .java file without error then I can process the rest of the functionality.
    Thanks in advance
    With kind Regs
    Satheesh.K

    Not so urgent today then!
    http://forum.java.sun.com/thread.jsp?thread=553576&forum=31&message=2709757
    I'm still not going to help you to steal someone�s code.

  • How to convert java class file version without decompiling

    Hi,
    Oracle R12.1.3 i am having illegal access error while try to access the class file version Java 1.3 uses major version 47,So how to convert the class file version without using decompiling.
    Current java version is 1.6.0_07
    Is there any tool or API for converting class file version?
    Thanks,
    Selvapandian T

    Beside this I wonder where you get your error from since AFAIK 12c comes with java 1.6.
    Well wonder no more!
    OP isn't using Oracle 12c database.
    They are using Oracle R12.1.3 - which is the E- Business Suite.

  • How can i add custom attributes to a new Class Object using the API ?

    Hello everyone,
    Here is my problem. I just created a subclass of Document using the API (not XML), by creating a ClassObjectDefinition and a ClassObject. Here is the code :
    // doc is an instance of Document
    ClassObject co = doc.getClassObject();
    ClassObjectDefinition cod = new ClassObjectDefinition(ifsSession);
    cod.setSuperclass(co);
    cod.setSuperclassName(co.getName());
    cod.setName("MYDocument");
    ClassObject c = (ClassObject)ifsSession.createSchemaObject(cod);
    Everything seems to be OK since i can see the new class when i use ifsmgr. But my question is : how can i add custom attributes to this new class ? Here is what i tried :
    AttributeDefinition value = new AttributeDefinition(ifsSession);
    value.setAttribute("FOO", AttributeValue.newAttributeValue("bar"));
    c.addAttribute(value);
    But i got the following error message :
    oracle.ifs.common.IfsException: IFS-30002: Unable to create new LibraryObject
    java.sql.SQLException: ORA-01400: impossible d'insirer NULL dans ("IFSSYS"."ODM_ATTRIBUTE"."DATATYPE")
    oracle.ifs.server.S_LibraryObjectData oracle.ifs.beans.LibrarySession.DMNewSchemaObject(oracle.ifs.server.S_LibraryObjectDefinition)
    oracle.ifs.beans.SchemaObject oracle.ifs.beans.LibrarySession.NewSchemaObject(oracle.ifs.beans.SchemaObjectDefinition)
    oracle.ifs.beans.SchemaObject oracle.ifs.beans.LibrarySession.createSchemaObject(oracle.ifs.beans.SchemaObjectDefinition)
    void fr.sword.ifs.GestionDocument.IFSDocument.createDocument(java.lang.String)
    void fr.sword.ifs.GestionDocument.IFSDocument.main(java.lang.String[])
    So, what am i doing wrong ?
    More generally, are we restricted in the types of the attributes ? (for example, would it be possible to add an attribute that would be an inputStream ? Or an object that i have already created ?).
    Any help would be appreciated. Thanks in advance.
    Guillaume
    PS : i'm using Oracle iFS 1.1.9 on NT4 SP6 and Oracle 8.1.7
    null

    Hi Guillaume,
    you're welcome. Don't know exactly, but assume that ATTRIBUTEDATATYPE_UNKNOWN
    is used to check for erronous cases only
    and it shouldn't be used otherwise.
    Creating your own objects could be simply done via
    ClassObject ifsClassObject;
    DocumentDefinition ifsDocDef = new DocumentDefinition(ifsSession);
    // get class object for my very own document
    ifsClassObject = ClassObject.getClassObjectFromLabel(ifsSession, "MYDOCUMENT");
    // set the class for the document i'd like to create
    ifsDocDef.setClassObject(ifsClassObject);
    // set attributes and content for the document...
    ifsDocDef.setAttribute("MYFOO_ATTRIBUTE",....);
    ifsDocDef.setContent("This is the content of my document");
    // create the document...
    PublicObject doc = ifsSession.createPublicObject(ifsDocDef);
    null

  • How do I set a specific page to open when I open a new tab in Firefox? I can open the page when initially opening Firefox, but not for subsequent tabs/pages.

    How do I set a specific page to open when I open a new tab in Firefox? I can open the page when initially opening Firefox, but not for subsequent tabs/pages.

    You can use an extension to set which page to open in a new tab:
    *NewTabURL : https://addons.mozilla.org/firefox/addon/newtaburl/
    *My Homepage: https://addons.mozilla.org/firefox/addon/my-homepage/

  • How do you add a new class package?

    Hi guys,
    I have just started using J2SE and I need to add a new class definition. This is to be imported at the start of the program,
    ie. import cs1.Keyboard;
    The thing im not sure of is, how do I make the compiler know where the Keyboard class is? Which directory do I have to put it in?
    If anyone has any idea, it would be really appreciated. Thanks

    Put Keyboard.class in a directory named cs1 and add the parent of cs1 to your CLASSPATH when you compile and run:
    http://java.sun.com/j2se/1.4.2/docs/tooldocs/windows/classpath.html
    MOD

  • How to create a new class

    Hi,
    I'm trying to create a new class called Questions, which has
    two properties (type and condition).
    The action script is saved in the folder myComponents under
    the project.
    When I compile the Main app, I get the following error
    message:
    "1172 Definition myComponents:Question could not be found."
    Why?
    How do you call a constructor for a new class, that is not an
    extension of an existing class?
    Regards
    /Acke
    //-----------Class----------//
    package myComponents
    // Import all classes in the mx.events package
    import mx.events.*;
    public class Question {
    // Public constructor.
    public var Question(){
    // Call the constructor in the superclass.
    //super();
    // Define properties and methods.
    // Define public vars.
    public var type:string;
    public var condition:string;
    //------Main----------//
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute"
    xmlns:MyComp="myComponents.*">
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    import mx.events.CloseEvent;
    import myComponents.Question;
    etc, etc....

    quote:
    Originally posted by:
    MannenMytenLegenden
    Hi,
    I'm trying to create a new class called Questions, which has
    two properties (type and condition).
    The action script is saved in the folder myComponents under
    the project.
    When I compile the Main app, I get the following error
    message:
    "1172 Definition myComponents:Question could not be found."
    Why?
    How do you call a constructor for a new class, that is not an
    extension of an existing class?
    Regards
    /Acke
    //-----------Class----------//
    package myComponents
    // Import all classes in the mx.events package
    import mx.events.*;
    public class Question {
    // Public constructor.
    public var Question(){
    // Call the constructor in the superclass.
    //super();
    // Define properties and methods.
    // Define public vars.
    public var type:string;
    public var condition:string;
    //------Main----------//
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    layout="absolute"
    xmlns:MyComp="myComponents.*">
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    import mx.events.CloseEvent;
    import myComponents.Question;
    etc, etc....
    Here is a test class I created a while back, although this
    one does extend Object it might help you out a bit with your
    constructor issue:
    package com.evilest
    import mx.controls.Alert;
    public class Testing_class extends Object
    private var message:String = new String();
    public function Testing_class(input:String) {
    this.message = input;
    public function showAlert():void {
    Alert.show(this.message, "sup");
    }

  • How to use a new class in SAP XI

    Hi @,
    I have created one new class for the purpose of exception and error handling .I dont know as to where and how i should use this class within SAP XI .How can i include this class so that the effect can be viewed during runtime
    Regards

    Hi,
    In general we will create the package and import under archieves and create USDF in mapping there , you can mention as undr import that package , in code , in UDF , you can use package.class
    see the below link for more details
    /people/alessandro.guarneri/blog/2006/01/26/throwing-smart-exceptions-in-xi-graphical-mapping
    Regards
    Chilla
    <i>reward points if it is useful..</i>

  • How to know that my new ipad specification is wifi+4g?

    How to know that my new ipad specification is wifi+4g?

    Check the model number on the back of the iPad
    Apple iPad Wi-Fi (Original) 16, 32, 64 GB
    The wi-fi only iPad configurations are assigned model number A1219.
    MB292LL/A is the order number for the 16 GB configuration. The 32 GB configuration is assigned MB293LL/A and the 64 GB configuration is assigned MB294LL/A.
    Apple iPad Wi-Fi/3G/GPS (Original) 16, 32, 64 GB
    The Wi-Fi/3G/A-GPS iPad configurations are assigned model number A1337.
    MC349LL/A is the order number for the 16 GB configuration. The 32 GB configuration is assigned MC496LL/A and the 64 GB configuration is assigned MC497LL/A.
    Apple iPad 2 (Wi-Fi Only) 16, 32, 64 GB
    The wi-fi only iPad 2 configurations are assigned model number A1395.
    MC769LL/A is the original order number for the 16 GB configuration in black. The 32 GB configuration in black is assigned MC770LL/A and the 64 GB configuration in black is assigned MC916LL/A. The original 16 GB, 32 GB and 64 GB configurations in white are assigned MC979LL/A, MC980LL/A, and MC981LL/A, respectively. On March 7, 2012, Apple discontinued the 32 GB and 64 GB configurations and assigned new order numbers of MC954LL/A and MC989LL/A for the black and white 16 GB configurations, respectively.
    Apple iPad 2 (Wi-Fi/GSM/GPS AT&T) 16, 32, 64 GB
    The Wi-Fi/GSM/GPS iPad 2 configurations are assigned model number A1396.
    MC773LL/A is the original order number for the 16 GB configuration in black. The 32 GB configuration in black is assigned MC774LL/A and the 64 GB configuration in black is assigned MC775LL/A. The original 16 GB, 32 GB and 64 GB configurations in white are assigned MC982LL/A, MC983LL/A, and MC984LL/A, respectively. On March 7, 2012, Apple discontinued the 32 GB and 64 GB configurations and assigned new order numbers of MC957LL/A and MC992LL/A for the black and white 16 GB configurations, respectively.
    Apple iPad 2 (Wi-Fi/CDMA/GPS Verizon) 16, 32, 64 GB
    The Wi-Fi/CDMA/GPS iPad 2 configurations are assigned model number A1397.
    MC755LL/A is the original order number for the 16 GB configuration in black. The 32 GB configuration in black is assigned MC763LL/A and the 64 GB configuration in black is assigned MC764LL/A. The original 16 GB, 32 GB and 64 GB configurations in white are assigned MC985LL/A, MC986LL/A, and MC987LL/A, respectively. On March 7, 2012, Apple discontinued the 32 GB and 64 GB configurations and assigned new order numbers of MC755LL/A and MC985LL/A for the black and white 16 GB configurations, respectively.
    Apple iPad 3rd Gen (Wi-Fi Only) 16, 32, 64 GB
    The Wi-Fi Only iPad 3 configurations are assigned model number A1416
    MC705LL/A refers to the 16 GB configuration in black. The 32 GB and 64 GB configurations in black are MC706LL/A and MC707LL/A, respectively. The 16 GB, 32 GB and 64 GB configurations in white are MD328LL/A, MD329LL/A, and MD330LL/A, respectively.
    Apple iPad 3rd Gen (Wi-Fi/4G LTE AT&T/GPS) 16, 32, 64 GB
    The Wi-Fi/4G LTE AT&T/GPS iPad 3 configurations are assigned model number A1430
    MD366LL/A refers to the 16 GB configuration in black. The 32 GB and 64 GB configurations in black are MD367LL/A and MD368LL/A, respectively. The 16 GB, 32 GB and 64 GB configurations in white are MD369LL/A, MD370LL/A and MD371LL/A, respectively
    Apple iPad 3rd Gen (Wi-Fi/4G LTE Verizon/GPS) 16, 32, 64 GB
    The Wi-Fi/4G LTE Verizon/GPS iPad 3 configurations are assigned model number A1403
    MC733LL/A refers to the 16 GB configuration in black. The 32 GB and 64 GB configurations in black are MC744LL/A and MC756LL/A, respectively. The 16 GB, 32 GB and 64 GB configurations in white are MD363LL/A, MD364LL/A, and MD365LL/A, respectively.

  • How to load a .class file dynamically?

    Hello World ;)
    Does anyone know, how I can create an object of a class, that was compiled during the runtime?
    The facts:
    - The user puts a grammar in. Saved to file. ANTLR generates Scanner and Parser (Java Code .java)
    - I compile these file, so XYScanner.class and XYParser.class are available.
    - Now I want to create an object of XYScanner (the classnames are not fixed, but I know the filename). I tried to call the constructor of XYScanner (using reflection) but nothing works and now I am really despaired!
    Isn't there any way to instantiate the class in a way like
    Class c = Class.forName("/home/mark/XYScanner");
    c scan = new c("input.txt");
    The normal call would be:
    XYLexer lex = new XYLexer(new ANTLRFileStream("input.txt"));The problem using reflection is now that the parameter is a ANTLRFileStream, not only an Integer, as in this example shown:
    Class cls = Class.forName("method2");
    Class partypes[] = new Class[2];
    partypes[0] = Integer.TYPE;
    partypes[1] = Integer.TYPE;
    Method meth = cls.getMethod("add", partypes);
    method2 methobj = new method2();
    Object arglist[] = new Object[2];
    arglist[0] = new Integer(37);
    arglist[1] = new Integer(47);
    Object retobj = meth.invoke(methobj, arglist);
    Integer retval = (Integer)retobj;
    System.out.println(retval.intValue());Has anyone an idea? Thanks for each comment in advance!!!

    Dump all of your class files into a directory.
    Use the File class to list all files and iterateover
    the files.NastyNot really, when you are dynamically creating code, I would expect the output to be centralized, not spread out all over the place.
    >
    Use a URLClassloader to load the URL that isobtained
    for each file with file.toURI().toURL()(file.toURL()
    is depricated in 1.6)Wrong, the URL you give it must be that of the
    directory, not the class file.No, I did this quite recently, you can give it a specific class file to load.
    >
    Load all of the classes in this directory, thatway
    any anonymous classes are loaded as well.Anonymous classes automatically loaded when the real
    one isIt can't load it if it doesn't know where the code is. Since you haven't used a URL classloader to load once class file at a time, you would never encounter this. But if you loaded a class file that had an anonymous classfile it needed, would it know where to look for it?
    >
    From this point you should be able to just get a
    class with Class.forName(name)No. Class.forName uses the classloader of the class
    it's called in, which will be the system classloader.
    It won't find classes loaded by a URLClassLoader.got me there.

  • Creating a new class using a template class

    I am very new to Java.
    I need to make a new class by using a template class that was given to us.
    I go to File / New / Class but cannot find how to select a template class to create a new class.
    Thanks,
    gs

    gs2010 wrote:
    I am very new to Java.
    I need to make a new class by using a template class that was given to us.
    I go to File / New / Class but cannot find how to select a template class to create a new class.
    Thanks,
    gsYou need to be much more specific as to what you are trying to do.
    What is a "template class"?
    How are you trying to "go to" and "select" the template?
    Etc.

  • How do I modify a specific component within a active internalframe?

    I need to change an icon (toggle like) on a button within an internal frame when it is pressed.. I know what the active frame is. How do I address the specific component (wiithin a deskpane within a internalframe)?
    Thank you in advance,
    BAJH

    Here is a stripped down version of the program:
    i
    import java.awt.BorderLayout;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import javax.swing.JButton;
    import javax.swing.JDesktopPane;
    import javax.swing.JFrame;
    import javax.swing.JInternalFrame;
    import javax.swing.JList;
    import javax.swing.JPanel;
    import javax.swing.JScrollPane;
    import javax.swing.OverlayLayout;
    import javax.swing.ScrollPaneConstants;
    import javax.swing.UIManager;
    import javax.swing.event.InternalFrameEvent;
    import javax.swing.event.InternalFrameListener;
    public class TestFrameButton extends JDesktopPane{
         private static final long serialVersionUID = 1L;
         JDesktopPane desk;
         JDesktopPane ifdesk;
         JScrollPane scrollpane;
         JInternalFrame iframe;
         JFrame frame;
         JList jList1;
         JInternalFrame currentframe;
         Integer currentframenumber;
         String currentframename;
         Boolean[] downuptracker;
         Integer deskwidth = 1000;
         Integer deskheight = 1000;
         Integer scrollwidth = 1000;
         Integer scrollheight = 1000;
         JButton DownUpButton;
         public static void main(String[] args) {
              TestFrameButton d = new TestFrameButton();
         public TestFrameButton(){
              downuptracker = new Boolean [99];
              frame = new JFrame("Test Frame Button");
              frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              scrollpane = new JScrollPane(desk,
                        ScrollPaneConstants.VERTICAL_SCROLLBAR_ALWAYS,
                        ScrollPaneConstants.HORIZONTAL_SCROLLBAR_ALWAYS);
              scrollpane.setPreferredSize(new java.awt.Dimension(scrollwidth, scrollheight));
              desk = new JDesktopPane();
              desk.setPreferredSize(new java.awt.Dimension(deskwidth, deskheight));
              int i = 5;
              for (int j = 0; j <= i; j++){
                   UIManager.getDefaults().put("InternalFrame.icon", "");
                   iframe = new JInternalFrame("Internal Frame: " + j, false, true, false, false);
                   iframe.setName(String.valueOf(j));
                   iframe.setBounds(30*j, 30*j,265 , 80);
                   iframe.addInternalFrameListener(new InternalFrameListener(){
                        public void internalFrameClosing(InternalFrameEvent e) {
                        public void internalFrameClosed(InternalFrameEvent e) {
                        public void internalFrameOpened(InternalFrameEvent e) {
                        public void internalFrameIconified(InternalFrameEvent e) {
                        public void internalFrameDeiconified(InternalFrameEvent e) {
                        public void internalFrameActivated(InternalFrameEvent e) {
                             currentframe = e.getInternalFrame();
                             currentframename = e.getInternalFrame().getName();
                             currentframenumber = Integer.valueOf(currentframename);
                        public void internalFrameDeactivated(InternalFrameEvent e) {
                   iframe.setTitle("Internal Frame :" + j);
                   iframe.setVisible(true);
                   downuptracker[j] = true;
                   ifdesk = new JDesktopPane();
                   iframe.getContentPane().add(ifdesk, BorderLayout.CENTER);
                   DownUpButton = new JButton("Old Icon here");
                   ifdesk.add(DownUpButton);
                   DownUpButton.setBounds(0, 0, 130, 20);
                   DownUpButton.addActionListener(new ActionListener() {
                        public void actionPerformed(ActionEvent e) {
                             if (downuptracker[currentframenumber].equals(true)){
                                  // Colapse frame here and change icon
                                  DownUpButton.setText("New Icon here");
                                  downuptracker[currentframenumber] = false;
                             }else{
                                  // Expand frame here and change icon
                                  DownUpButton.setText("Old Icon here");
                                  downuptracker[currentframenumber] = true;
                   desk.add(iframe);
                   iframe.moveToFront();
              scrollpane.setViewportView(desk);
              JPanel overlayPanel = new JPanel();
              OverlayLayout overlay = new OverlayLayout(overlayPanel);
              overlayPanel.setLayout(overlay);
              this.setOpaque(false);
              desk.setOpaque(true);
              overlayPanel.add(this);
              overlayPanel.add(scrollpane);
              frame.add(overlayPanel);
              scrollpane.setVisible(true);
              frame.setSize(800,600);
              frame.setVisible(true);
    }Thank you in advance,
    BAJH - I will never multi-post again!

Maybe you are looking for

  • Convert Multiple Rows in a single Comma Seprated value

    Is is possible to convert miltiple rows in a single value by concatenating each row value in OBIEE. I think OI had seem a blog post relted to this by I'm not able to to find it again. Basically Here is what I would like to do: Customer number Locatio

  • Document Validity

    Hi guys, I  want to use the field "VRLDAT" to define a validate date to a document, but 'i can't find it in any dynpro. Please, anybody know how i can mantain a valid date information for a document in DMS? regards Daniel

  • How to deal with more than one work repository vividly?

    I create one master repository with two work repository , now how can i vividly build up ODI interface in differently work repository? anyone reply will be appreciately,thank you very much!

  • Selection of JRE 5 not 6

    Our application does work nicely with JRE 5. But not with JRE 6. This application is started by java web start JNLP and I have put <j2se version="1.5*"/> in JNP so that it can select JRE5 but anyhow JRE 6 is selected and application failed to start.

  • Deleting Inbound deliveries in DWM

    Hello, your help will be welcome. Here's the situation. - I created a PO - I create an Inbound delivery, It's not an ASN practice, just created to be transmited to the DWM (non sap app) - The PO is flagged as Delivery complete or as Mark for deletion