Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

String literal corruption #6

Open
jsjeon opened this issue Sep 24, 2013 · 0 comments
Open

String literal corruption #6

jsjeon opened this issue Sep 24, 2013 · 0 comments

Comments

@jsjeon
Copy link
Member

jsjeon commented Sep 24, 2013

This was reported by Santosh Kumar Cheler.

When rewriting "Kingsoft_Office_5_5_1", one string literal is getting changed to something different. To check this out, add the following to the file: logging/src/org/umd/logging/Logger.java:

static void test() {
    System.out.println("pl/test.properties");
}

Then, this is getting changed to:

sget-object v0, Ljava/lang/System;->out:Ljava/io/PrintStream;
const-string v1, "Ldxq;"
invoke-virtual {v0, v1}, Ljava/io/PrintStream;->println(Ljava/lang/String;)V

This is not happening when removing the "/" in the string.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant