mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
8054717: SJavac should track changes in the public apis of classpath classes!
Added functionality for tracking changes in public APIs of classpath classes. Reviewed-by: jlahoda, erikj
This commit is contained in:
parent
66dcce4334
commit
3a31593507
88 changed files with 2917 additions and 1990 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2014, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2014, 2015, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
|
@ -37,7 +37,7 @@ public class SjavacBase {
|
|||
*/
|
||||
public static int compile(Object... args) throws ReflectiveOperationException {
|
||||
// Use reflection to avoid a compile-time dependency on sjavac Main
|
||||
System.err.println("compile: " + Arrays.toString(args));
|
||||
System.out.println("compile: " + Arrays.toString(args));
|
||||
Class<?> c = Class.forName("com.sun.tools.sjavac.Main");
|
||||
Method m = c.getDeclaredMethod("go", String[].class);
|
||||
String[] strArgs = new String[args.length];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue