jungm opened a new pull request, #51:
URL: https://github.com/apache/geronimo-xbean/pull/51
See output of `javap -v java.net.URL` for JDK 1.8:
```
public java.net.URL(java.lang.String) throws
java.net.MalformedURLException;
descriptor: (Ljava/lang/String;)V
flags: ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
0: aload_0
1: aconst_null
2: aload_1
3: invokespecial #44 // Method
"<init>":(Ljava/net/URL;Ljava/lang/String;)V
6: return
LineNumberTable:
line 457: 0
line 458: 6
Exceptions:
throws java.net.MalformedURLException
```
vs JDK 9:
```
public java.net.URL(java.lang.String) throws
java.net.MalformedURLException;
descriptor: (Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
0: aload_0
1: aconst_null
2: aload_1
3: invokespecial #38 // Method
"<init>":(Ljava/net/URL;Ljava/lang/String;)V
6: return
LineNumberTable:
line 468: 0
line 469: 6
LocalVariableTable:
Start Length Slot Name Signature
0 7 0 this Ljava/net/URL;
0 7 1 spec Ljava/lang/String;
Exceptions:
throws java.net.MalformedURLException
```
running this test on jdk 1.8 is broken and makes no sense
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]