Skip to content

WrappingParameterizedRunner debug code causes failure on Windows #12

@Nava2

Description

@Nava2

This debug code:

// WrappingParameterizedRunner.java L313
/* ** DEBUG export class to /tmp/x.class ** */
		try {
			FileOutputStream fos = new FileOutputStream("/tmp/x.class");
			fos.write(clazzBytes);
			fos.close();
		} catch (Exception e1) {
			e1.printStackTrace();
		}
		/* ** /DEBUG ** */

throws on Windows immediately, /tmp doesn't exist. Could be replaced with the Files.createTempFile() or similar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions